http.client.HTTPConnection.putrequest()

HTTPConnection.putrequest(request, selector, skip_host=False, skip_accept_encoding=False)

This should be the first call after the connection to the server has been made. It sends a line to the server consisting of the request string, the selector string, and the HTTP version (HTTP/1.1). To disable automatic sending of Host: or Accept-Encoding: headers (for example to accept additional content encodings), specify skip_host or skip_accept_encoding with non-False values.

doc_python
2016-10-07 17:33:50
Comments
Leave a Comment

Please login to continue.