Class: cogen.web.wsgi.WSGIConnection
Constructor
__init__ (self, sock, wsgi_app, environ, sockoper_run_first, sockoper_timeout, sendfile_timeout)
Methods
render_headers (self)
run (*args, **kws)
A bit bulky atm...
simple_response (self, status, msg='')
Return a operation for writing simple response back to the client.
start_response (self, status, headers, exc_info=None)
WSGI callable to begin the HTTP response.
Attributes
connection_environ
Value of connection_environ
{'wsgi.errors': <open file '<stderr>', mode 'w' at 0x00A0F0B0>,
'wsgi.file_wrapper': <class cogen.web.wsgi.WSGIFileWrapper at 0x00E6CF00>,
'wsgi.input': None,
'wsgi.multiprocess': False,
'wsgi.multithread': False,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}