summaryrefslogtreecommitdiffstats
path: root/Lib/http/client.py
diff options
context:
space:
mode:
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 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'.