Issue28010 - Make http.client.HTTPConnection.putrequest documentation consistent with the code.

This commit is contained in:
Senthil Kumaran 2016-09-08 14:28:01 -07:00
parent 37156a70b9
commit 5dc504c3c9
2 changed files with 11 additions and 16 deletions

View file

@ -935,7 +935,8 @@ class HTTPConnection:
if message_body is not None:
self.send(message_body)
def putrequest(self, method, url, skip_host=0, skip_accept_encoding=0):
def putrequest(self, method, url, skip_host=False,
skip_accept_encoding=False):
"""Send a request to the server.
`method' specifies an HTTP request method, e.g. 'GET'.