Table of Contents

Class: HttpRedirect qm/web.py

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.

Base Classes   
Exception
Methods   
__init__
  __init__ 
__init__ ( self,  redirect_target_request )

Construct a redirection exception.

redirect_target_request
The WebRequest to which to redirect the client.

Table of Contents

This document was automatically generated on Mon Jan 3 09:42:29 2005 by HappyDoc version 2.1