Back to index

moin  1.9.0~rc2
Public Member Functions | Public Attributes | Static Public Attributes Class Reference
Inheritance diagram for
Inheritance graph
Collaboration diagram for
Collaboration graph

List of all members.

Public Member Functions

def __init__
def get_response

Public Attributes


Static Public Attributes

int code = 301

Detailed Description

Raise if the map requests a redirect. This is for example the case if
`strict_slashes` are activated and an url that requires a leading slash.

The attribute `new_url` contains the absolute destination url.

Definition at line 178 of file

Constructor & Destructor Documentation

Definition at line 186 of file

00187     def __init__(self, new_url):
00188         RoutingException.__init__(self, new_url)
00189         self.new_url = new_url

Member Function Documentation

Definition at line 190 of file

00191     def get_response(self, environ):
00192         return redirect(self.new_url, 301)

Here is the call graph for this function:

Member Data Documentation

Definition at line 184 of file

Definition at line 188 of file

The documentation for this class was generated from the following file: