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

Method send_headers

Lib/wsgiref/handlers.py:346–352  ·  view source on GitHub ↗

Transmit headers to the client, via self._write()

(self)

Source from the content-addressed store, hash-verified

344
345
346 def send_headers(self):
347 """Transmit headers to the client, via self._write()"""
348 self.cleanup_headers()
349 self.headers_sent = True
350 if not self.origin_server or self.client_is_modern():
351 self.send_preamble()
352 self._write(bytes(self.headers))
353
354
355 def result_is_file(self):

Callers 2

writeMethod · 0.95
finish_contentMethod · 0.95

Calls 4

cleanup_headersMethod · 0.95
client_is_modernMethod · 0.95
send_preambleMethod · 0.95
_writeMethod · 0.95

Tested by

no test coverage detected