l.s.w._.redirection : class documentation

Part of lp.services.webapp View In Hierarchy

A redirection is used for two related purposes.

As a function decorator, it says what name is mapped to where.

As an object returned from a traversal method, it says that the result of such traversal is a redirect.

You can use the keyword argument 'status' to change the status code from the default of 303 (assuming http/1.1).

Method __init__ Undocumented
Method __call__ Undocumented
def __init__(self, name, status=None):
def __call__(self, fn):
API Documentation for Launchpad, generated by pydoctor at 2020-05-28 00:00:14.