diff options
author | Senthil Kumaran <senthil@uthcode.com> | 2016-09-08 21:28:01 (GMT) |
---|---|---|
committer | Senthil Kumaran <senthil@uthcode.com> | 2016-09-08 21:28:01 (GMT) |
commit | 5dc504c3c937a160c6d09bb124df5298712a1839 (patch) | |
tree | 605050ae57b89646089c05f6affb707ebe24a5dc /Lib/http | |
parent | 37156a70b95b2e8efde26cc6c1b5ffd6830b664e (diff) | |
download | cpython-5dc504c3c937a160c6d09bb124df5298712a1839.zip cpython-5dc504c3c937a160c6d09bb124df5298712a1839.tar.gz cpython-5dc504c3c937a160c6d09bb124df5298712a1839.tar.bz2 |
Issue28010 - Make http.client.HTTPConnection.putrequest documentation consistent with the code.
Diffstat (limited to 'Lib/http')
-rw-r--r-- | Lib/http/client.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/http/client.py b/Lib/http/client.py index 25ae588..352c101 100644 --- a/Lib/http/client.py +++ b/Lib/http/client.py @@ -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'. |