Represents the start_response callable passed to a WSGI handler.
Class: WsgiResponse()
operator | ( | ... | ) |
Function: operator(status, response_headers[, exc_info])
Callable implementation to initialize the response with the given HTTP status and the HTTP response headers.
status | an HTTP status string like 200 OK or 404 Not Found. |
response_headers | a list of (header_name, header_value) tuples. It must be a Python list. Each header_name must be a valid HTTP header field-name (as |
exc_info | [optional] python sys.exc_info() tuple. This argument should be supplied by the application only if start_response is being called by an error |