Commit aeceafa9 authored by Senthil Kumaran's avatar Senthil Kumaran

Issue: 7291. 2.6 backport missed the headers argument. Fixed it.

parent 21c134d0
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment