t.w.h.StatusResponse(Response) : class documentation

Part of twisted.web2.http View Source View In Hierarchy

Known subclasses: twisted.web2.auth.wrapper.UnauthorizedResponse, twisted.web2.http.RedirectResponse

A Response object which simply contains a status code and a description of what happened.
Method __init__ No summary
Method __repr__ Undocumented
def __init__(self, code, description, title=None): (source)
Parameterscodea response code in responsecode.RESPONSES.
descriptiona string description.
titlethe message title. If not specified or None, defaults to responsecode.RESPONSES[code].
def __repr__(self): (source)
Undocumented
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:17:34.