parameters: (self)
docstring: Transmit headers to the client, via self._write()
docstring_summary: Transmit headers to the client, via self._write()
docstring_tokens: Transmit headers to the client via self . _write ()
function: def send_headers(self):
          """Transmit headers to the client, via self._write()"""
          self.cleanup_headers()
          self.headers_sent = True
          if not self.origin_server or self.client_is_modern():
              self.send_preamble()
              self._write(str(self.headers))
function_tokens: def send_headers ( self ) : self . cleanup_headers ( ) self . headers_sent = True if not self . origin_server or self . client_is_modern ( ) : self . send_preamble ( ) self . _write ( str ( self . headers ) )