[issue7776] httplib.py: ._tunnel() broken

Senthil Kumaran report at bugs.python.org
Tue Jan 26 04:08:39 CET 2010


Senthil Kumaran <orsenthil at gmail.com> added the comment:

As you noticed, the _set_tunnel method is a private method not intended to be used directly. Its being used by urllib2 when https through proxy is required.
urllib2 works like this, it reads HTTPS_PROXY environment variable (in turn includes HTTPSProxyHandler and HTTPSProxyAuthenticationHandler) and then try to do a urlopen on an https:// url or a request object through the tunnel doing a  CONNECT instead of a GET.

How do think the docs can be improved? If you have any suggestions please upload a patch. 
Thanks.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7776>
_______________________________________


More information about the Python-bugs-list mailing list