Senthil Kumaran <orsent...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue7776>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to