diff options
author | Senthil Kumaran <senthil@uthcode.com> | 2016-09-08 21:29:23 (GMT) |
---|---|---|
committer | Senthil Kumaran <senthil@uthcode.com> | 2016-09-08 21:29:23 (GMT) |
commit | 10427f44852b6e872034061421a8890902b8f854 (patch) | |
tree | dbdf7d5df2893c8d9f9ff17dbad9f5a69b1c613e /Lib/http | |
parent | 3929499914d47365ae744df312e16da8955c90ac (diff) | |
parent | 5dc504c3c937a160c6d09bb124df5298712a1839 (diff) | |
download | cpython-10427f44852b6e872034061421a8890902b8f854.zip cpython-10427f44852b6e872034061421a8890902b8f854.tar.gz cpython-10427f44852b6e872034061421a8890902b8f854.tar.bz2 |
[merge from 3.5] - 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 a1c4ab9..ad8f410 100644 --- a/Lib/http/client.py +++ b/Lib/http/client.py @@ -1068,7 +1068,8 @@ class HTTPConnection: # end chunked transfer self.send(b'0\r\n\r\n') - 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'. |