t.w.e.RedirectWithNoLocation(Error) : class documentation

Part of twisted.web.error View Source View In Hierarchy

Exception passed to ResponseFailed if we got a redirect without a Location header field.
Present Since11.1
Method __init__ Initializes a page redirect exception when no location is given.

Inherited from Error:

Method __str__ Undocumented
def __init__(self, code, message, uri): (source)
Initializes a page redirect exception when no location is given.
ParameterscodeRefers to an HTTP status code, for example http.NOT_FOUND. If no message is given, code is mapped to a descriptive string that is used instead. (type: str )
messageA short error message. (type: str )
uriThe URI which failed to give a proper location header field. (type: str )
API Documentation for Twisted, generated by pydoctor at 2012-02-14 18:17:43.