Home | Trees | Indices | Help |
|
---|
|
object --+ | exceptions.BaseException --+ | exceptions.Exception --+ | CherryPyException --+ | HTTPRedirect
Exception raised when the request should be redirected.
The new URL must be passed as the first argument to the Exception, e.g., HTTPRedirect(newUrl). Multiple URLs are allowed. If a URL is absolute, it will be used as-is. If it is relative, it is assumed to be relative to the current cherrypy.request.path_info.
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
Inherited from Inherited from |
|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
Modify cherrypy.response status, headers, and body to represent self. CherryPy uses this internally, but you can also use it to create an HTTPRedirect object and set its output without *raising* the exception. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Jun 29 13:10:27 2010 | http://epydoc.sourceforge.net |