commit | aeceafa943681f506abf6fb6650207a47b0fd965 | [log] [tgz] |
---|---|---|
author | Senthil Kumaran <orsenthil@gmail.com> | Thu Dec 24 00:51:34 2009 +0000 |
committer | Senthil Kumaran <orsenthil@gmail.com> | Thu Dec 24 00:51:34 2009 +0000 |
tree | 33ff21292e25d904690df3064cc5605e163ff6dc | |
parent | 21c134d0e30b3bcb8733bdd33b9aea10305c2025 [diff] [blame] |
Issue: 7291. 2.6 backport missed the headers argument. Fixed it.
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 @@ 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