# 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: `BaseComponent`

  Initializes 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)
  on_response(event, response)
  property host
  property port
  property secure

class circuits.web.wsgi.Gateway(*args, **kwargs)

  Bases: `BaseComponent`

  Initializes x; see x.__class__.__doc__ for signature

  channel = 'web'
  init(apps)