Package cherrypy :: Module _cpwsgi :: Class AppResponse
[hide private]
[frames] | no frames]

Class AppResponse

source code

object --+
         |
        AppResponse

Instance Methods [hide private]
 
__init__(self, environ, start_response, cpapp)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__iter__(self) source code
 
next(self) source code
 
close(self) source code
 
get_engine_request(self, environ, cpapp)
Return a Request object from the CherryPy Engine using environ.
source code
 
translate_headers(self, environ)
Translate CGI-environ header names to HTTP header names.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  throws = (<type 'exceptions.KeyboardInterrupt'>, <type 'except...
  request = None
hash(x)
  headerNames = {'CONTENT_LENGTH': 'Content-Length', 'CONTENT_TY...
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, environ, start_response, cpapp)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

Class Variable Details [hide private]

throws

Value:
(<type 'exceptions.KeyboardInterrupt'>,
 <type 'exceptions.SystemExit'>,
 <class 'cherrypy._cperror.InternalRedirect'>)

headerNames

Value:
{'CONTENT_LENGTH': 'Content-Length',
 'CONTENT_TYPE': 'Content-Type',
 'HTTP_CGI_AUTHORIZATION': 'Authorization',
 'REMOTE_ADDR': 'Remote-Addr',
 'REMOTE_HOST': 'Remote-Host'}