MCPcopy Index your code
hub / github.com/python/cpython / end_headers

Method end_headers

Lib/http/server.py:566–570  ·  view source on GitHub ↗

Send the blank line ending the MIME headers.

(self)

Source from the content-addressed store, hash-verified

564 self.close_connection = False
565
566 def end_headers(self):
567 """Send the blank line ending the MIME headers."""
568 if self.request_version != 'HTTP/0.9':
569 self._headers_buffer.append(b"\r\n")
570 self.flush_headers()
571
572 def flush_headers(self):
573 if hasattr(self, '_headers_buffer'):

Callers 15

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

Calls 2

flush_headersMethod · 0.95
appendMethod · 0.45

Tested by 15

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