The HTTPRequest class is accessible via the paste.script.wsgiserver module.
A single HTTP connection may consist of multiple request/response pairs.
connection: the HTTP Connection object which spawned this request. rfile: the 'read' fileobject from the connection's socket ready: when True, the request has been parsed and is ready to begin
generating the response. When False, signals the calling Connection that the response should not be generated and the connection should close.
WSGI callable to begin the HTTP response.
WSGI callable to write unbuffered data to the client.
This method is also used internally by start_response (to write data from the iterable returned by the WSGI application).
See the source for more information.