Home | Trees | Indices | Help |
|
---|
|
object --+ | CPWSGIApp
A WSGI application object for a CherryPy Application. pipeline: a list of (name, wsgiapp) pairs. Each 'wsgiapp' MUST be a constructor that takes an initial, positional 'nextapp' argument, plus optional keyword arguments, and returns a WSGI application (that takes environ and start_response arguments). The 'name' can be any you choose, and will correspond to keys in self.config. head: rather than nest all apps in the pipeline on each call, it's only done the first time, and the result is memoized into self.head. Set this to None again if you change self.pipeline after calling self. config: a dict whose keys match names listed in the pipeline. Each value is a further dict which will be passed to the corresponding named WSGI callable (from the pipeline) as keyword arguments.
|
|||
response_class |
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
pipeline =
|
|||
head = None
|
|||
config =
|
|
|||
Inherited from |
|
|
WSGI application callable for the actual CherryPy application. You probably shouldn't call this; call self.__call__ instead, so that any WSGI middleware in self.pipeline can run first. |
|
pipeline
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Tue Jan 29 04:02:43 2008 | http://epydoc.sourceforge.net |