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

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

Known subclasses: twisted.web2.http.StatusResponse

Implements interfaces: twisted.web2.iweb.IResponse

An object representing an HTTP Response to be sent to the client.
Method __init__
Method __repr__ Undocumented
def __init__(self, code=None, headers=None, stream=None): (source)
ParameterscodeThe HTTP status code for this Response (type: int )
headersHeaders to be sent to the client. (type: dict, twisted.web2.http_headers.Headers, or None )
streamContent body to send to the HTTP client (type: twisted.web2.stream.IByteStream )
def __repr__(self): (source)
Undocumented
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:17:34.