summaryrefslogtreecommitdiff
path: root/Lib/http/client.py
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2016-09-08 14:28:01 -0700
committerSenthil Kumaran <senthil@uthcode.com>2016-09-08 14:28:01 -0700
commitfd6d16df3d926a02442cfdfb6d3b8b37ecf9a6a6 (patch)
treeb85d87930f7367ae5ac09d99abd0953dafca2991 /Lib/http/client.py
parent28899c321b87d1d416a245f3e622262f78ec1eba (diff)
downloadcpython-fd6d16df3d926a02442cfdfb6d3b8b37ecf9a6a6.tar.gz
Issue28010 - Make http.client.HTTPConnection.putrequest documentation consistent with the code.
Diffstat (limited to 'Lib/http/client.py')
-rw-r--r--Lib/http/client.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/http/client.py b/Lib/http/client.py
index 25ae588924..352c1017ad 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'.