summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorSenthil Kumaran <orsenthil@gmail.com>2009-12-24 00:51:34 (GMT)
committerSenthil Kumaran <orsenthil@gmail.com>2009-12-24 00:51:34 (GMT)
commitaeceafa943681f506abf6fb6650207a47b0fd965 (patch)
tree33ff21292e25d904690df3064cc5605e163ff6dc /Lib
parent21c134d0e30b3bcb8733bdd33b9aea10305c2025 (diff)
downloadcpython-aeceafa943681f506abf6fb6650207a47b0fd965.zip
cpython-aeceafa943681f506abf6fb6650207a47b0fd965.tar.gz
cpython-aeceafa943681f506abf6fb6650207a47b0fd965.tar.bz2
Issue: 7291. 2.6 backport missed the headers argument. Fixed it.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/httplib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/httplib.py b/Lib/httplib.py
index 8629cc3..e5ef8b7 100644
--- a/Lib/httplib.py
+++ b/Lib/httplib.py
@@ -658,7 +658,7 @@ class HTTPConnection:
if strict is not None:
self.strict = strict
- def _set_tunnel(self, host, port=None):
+ def _set_tunnel(self, host, port=None, headers=None):
""" Sets up the host and the port for the HTTP CONNECT Tunnelling.
The headers argument should be a mapping of extra HTTP headers