PyDocs

Nav

Internet Protocols and Support

BaseHTTPRequestHandler.responses

This attribute contains a mapping of error code integers to two-element tuples containing a short and long message. For example, {code: (shortmessage, longmessage)}. The shortmessage is usually used as the message key in an error response, and longmessage as the explain key. It is used by send_response_only() and send_error() methods.
0 Examples
No examples for http.server/BaseHTTPRequestHandler.responses.
See Also
No see-alsos for http.server/BaseHTTPRequestHandler.responses
0 Notes
No notes for BaseHTTPRequestHandler.responses