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