Parameters | method | The HTTP method to for this request, ex: 'GET', 'HEAD', 'POST', etc.
(type: str
) |
| uri | The URI of the resource to request, this may be absolute or relative,
however the interpretation of this URI is left up to the remote server.
(type: str
) |
| 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'.
(type: dict , twisted.web2.http_headers.Headers ,
or None
) |
| stream | Content body to send to the remote HTTP server.
(type: twisted.web2.stream.IByteStream
) |