Home | Trees | Indices | Help |
---|
|
object --+ | exceptions.BaseException --+ | exceptions.Exception --+ | HttpRedirect
Exception signalling an HTTP redirect response.
A script registered with a 'WebServer' instance can raise this exception instead of returning HTML source text, to indicate that the server should send an HTTP redirect (code 302) response to the client instead of the usual code 202 response.
The exception argument is the URL of the redirect target. The 'request' attribute contains a 'WebRequest' for the redirect target.
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
Inherited from Inherited from |
|
Construct a redirection exception. 'redirect_target_request' -- The 'WebRequest' to which to redirect the client.
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Dec 23 12:30:42 2011 | http://epydoc.sourceforge.net |