t.w.i.IRequest(Interface) : interface documentation

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

Known implementations: twisted.web2.http.Request, twisted.web2.server.Request

I'm a request for a web resource.
Attribute method The HTTP method from the request line, e.g. GET
Attribute uri The raw URI from the request line. May or may not include host.
Attribute clientproto Protocol from the request line, e.g. HTTP/1.1
Attribute headers A http_headers.Headers instance of incoming headers.
Attribute stream A stream.IByteStream of incoming data.
Method writeResponse Write an IResponse object to the client.
Attribute chanRequest The ChannelRequest. I wonder if this is public really?
method =
The HTTP method from the request line, e.g. GET
uri =
The raw URI from the request line. May or may not include host.
clientproto =
Protocol from the request line, e.g. HTTP/1.1
headers =
A http_headers.Headers instance of incoming headers.
stream =
A stream.IByteStream of incoming data.
def writeResponse(response): (source)
Write an IResponse object to the client.
chanRequest =
The ChannelRequest. I wonder if this is public really?
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:12:41.