Part of twisted.web._newclient View Source View In Hierarchy
Requestinstance describes an HTTP request to be sent to an HTTP server.
|Instance Variables||method||The HTTP method to for this request, ex: 'GET', 'HEAD', 'POST', etc.
|uri||The relative URI of the resource to request. For example,
|headers||Headers to be sent to the server. It is important to note that this
object does not create any implicit headers. So it is up to the HTTP
Client to add required headers such as 'Host'.
|Method||_writeToChunked||Write this request to the given transport using chunked transfer-encoding to frame the body.|
|Method||_writeToContentLength||Write this request to the given transport using content-length to frame the body.|
Requestas an HTTP/1.1 request and write it to the given transport. If bodyProducer is not None, it will be associated with an