MCPcopy Index your code
hub / github.com/RustPython/RustPython / end_headers

Method end_headers

Lib/http/server.py:594–598  ·  view source on GitHub ↗

Send the blank line ending the MIME headers.

(self)

Source from the content-addressed store, hash-verified

592 self.close_connection = False
593
594 def end_headers(self):
595 """Send the blank line ending the MIME headers."""
596 if self.request_version != 'HTTP/0.9':
597 self._headers_buffer.append(b"\r\n")
598 self.flush_headers()
599
600 def flush_headers(self):
601 if hasattr(self, '_headers_buffer'):

Callers 15

handle_expect_100Method · 0.95
send_errorMethod · 0.95
do_GETMethod · 0.80
send_headMethod · 0.80
list_directoryMethod · 0.80
do_POSTMethod · 0.80
do_GETMethod · 0.80
do_TESTMethod · 0.80
do_KEEPMethod · 0.80
do_CUSTOMMethod · 0.80
do_LATINONEHEADERMethod · 0.80
do_GETMethod · 0.80

Calls 2

flush_headersMethod · 0.95
appendMethod · 0.45

Tested by 15

do_POSTMethod · 0.64
do_GETMethod · 0.64
do_TESTMethod · 0.64
do_KEEPMethod · 0.64
do_CUSTOMMethod · 0.64
do_LATINONEHEADERMethod · 0.64
do_GETMethod · 0.64
do_GETMethod · 0.64
do_HEADMethod · 0.64