diff options
author | Senthil Kumaran <orsenthil@gmail.com> | 2009-12-24 00:51:34 (GMT) |
---|---|---|
committer | Senthil Kumaran <orsenthil@gmail.com> | 2009-12-24 00:51:34 (GMT) |
commit | aeceafa943681f506abf6fb6650207a47b0fd965 (patch) | |
tree | 33ff21292e25d904690df3064cc5605e163ff6dc /Lib | |
parent | 21c134d0e30b3bcb8733bdd33b9aea10305c2025 (diff) | |
download | cpython-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.py | 2 |
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 |