HTTPRedirection
base class for 300's status code (redirections)
The HTTPRedirection class is accessible via the
paste.httpexceptions
module.
This is an abstract base class for 3xx redirection. It indicates
that further action needs to be taken by the user agent in order
to fulfill the request. It does not necessarly signal an error
condition.
Attributes
'%(explanation)s\r\n<br/>%(detail)s\r\n<!-- %(comment)s -->'
Methods
f
__call__(self, environ, start_response, exc_info=None)
...
This exception as a WSGI application
f
__init__(self, detail=None, headers=None, comment=None)
...
f
html(self, environ)
...
text/html representation of the exception
f
make_body(self, environ, template, escfunc, comment_escfunc=None)
...
f
plain(self, environ)
...
text/plain representation of the exception
f
wsgi_application(self, environ, start_response, exc_info=None)
...
This exception as a WSGI application
See
the source
for more information.