| Home | Trees | Indices | Help |
|
|---|
|
|
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 |
|||
|
|||
|
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.0beta1 on Thu Jan 24 16:33:09 2008 | http://epydoc.sourceforge.net |