PyDocs

Nav

Internet Protocols and Support

BaseHTTPRequestHandler.send_response

  • BaseHTTPRequestHandler.send_response(code, message=None)
Add the response header to the headers buffer and log the
response code.

Also send two standard headers with the server software
version and the current date.
Changed in 3.3
  • 3.3: Headers are stored to an internal buffer and end_headers() needs to be called explicitly.
0 Examples
No examples for http.server/BaseHTTPRequestHandler.send_response.
See Also
No see-alsos for http.server/BaseHTTPRequestHandler.send_response
0 Notes
No notes for BaseHTTPRequestHandler.send_response