circuits.web.wsgi module¶
WSGI Components
This module implements WSGI Components.
-
circuits.web.wsgi.create_environ(errors, path, req)¶
-
class
circuits.web.wsgi.Application(*args, **kwargs)¶ Bases:
circuits.core.components.BaseComponentinitializes x; see x.__class__.__doc__ for signature
-
channel= 'web'¶
-
headerNames= {'CONTENT_LENGTH': 'Content-Length', 'CONTENT_TYPE': 'Content-Type', 'HTTP_CGI_AUTHORIZATION': 'Authorization', 'REMOTE_ADDR': 'Remote-Addr', 'REMOTE_HOST': 'Remote-Host'}¶
-
init()¶
-
translateHeaders(environ)¶
-
getRequestResponse(environ)¶
-
response(event, response)¶
-
host¶
-
port¶
-
secure¶
-
-
class
circuits.web.wsgi.Gateway(*args, **kwargs)¶ Bases:
circuits.core.components.BaseComponentinitializes x; see x.__class__.__doc__ for signature
-
channel= 'web'¶
-
init(apps)¶
-