Tatsuhiro Tsujikawa <tsujik...@gp.hitachi.co.jp> added the comment:

I created a patch.
I added additional argument 'headers' to HTTPConnection::set_tunnel()
method,
which is a mapping of HTTP headers to sent with CONNECT method. Since
authorization
credential is already set to Request object, in
AbstractHTTPHandler::do_open(),
if "Proxy-Authorization" header is found, pass it to set_tunnel().

It works fine for me.

----------
keywords: +patch
Added file: http://bugs.python.org/file15296/https_proxy_auth.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7291>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to