From: Senthil Kumaran Date: Thu, 24 Dec 2009 00:51:34 +0000 (+0000) Subject: Issue: 7291. 2.6 backport missed the headers argument. Fixed it. X-Git-Tag: v2.6.5rc1~238 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aeceafa943681f506abf6fb6650207a47b0fd965;p=thirdparty%2FPython%2Fcpython.git Issue: 7291. 2.6 backport missed the headers argument. Fixed it. --- diff --git a/Lib/httplib.py b/Lib/httplib.py index 8629cc336bb2..e5ef8b7edc67 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