Home | Trees | Indices | Help |
|
---|
|
object --+ | Application
A CherryPy Application.
Servers and gateways should not instantiate Request objects directly. Instead, they should ask an Application object for a request object.
An instance of this class may also be used as a WSGI callable (WSGI application object) for itself.
|
|||
request_class An HTTP request. |
|||
response_class An HTTP Response, including status, headers, and body. |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
root = None The top-most container of page handlers for this app. |
|||
config =
A dict of {path: pathconf} pairs, where 'pathconf' is itself a dict of {key: value} pairs. |
|||
namespaces = cherrypy.lib.reprconf.NamespaceSet({})
|
|||
toolboxes = {'tools': cherrypy.tools}
|
|||
log = None A LogManager instance. |
|||
wsgiapp = None A CPWSGIApp instance. |
|||
relative_urls = False
|
|||
script_name_doc =
|
|
|||
script_name The URI "mount point" for this app. |
|||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
repr(x)
|
|
rootThe top-most container of page handlers for this app. Handlers should be arranged in a hierarchy of attributes, matching the expected URI hierarchy; the default dispatcher then searches this hierarchy for a matching handler. When using a dispatcher other than the default, this value may be None.
|
logA LogManager instance. See _cplogging.
|
wsgiappA CPWSGIApp instance. See _cpwsgi.
|
script_name_doc
|
|
script_nameThe URI "mount point" for this app. A mount point is that portion of the URI which is constant for all URIs that are serviced by this application; it does not include scheme, host, or proxy ("virtual host") portions of the URI. For example, if script_name is "/my/cool/app", then the URL "http://www.example.com/my/cool/app/page1" might be handled by a "page1" method on the root object. The value of script_name MUST NOT end in a slash. If the script_name refers to the root of the URI, it MUST be an empty string (not "/"). If script_name is explicitly set to None, then the script_name will be provided for each call from request.wsgi_environ['SCRIPT_NAME'].
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Sep 27 14:39:45 2013 | http://epydoc.sourceforge.net |