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.
Please login to continue.