This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author orsenthil
Recipients brian.curtin, cameron, orsenthil
Date 2010-01-26.03:08:36
SpamBayes Score 0.0075457
Marked as misclassified No
Message-id <>
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. 
Date User Action Args
2010-01-26 03:08:39orsenthilsetrecipients: + orsenthil, cameron, brian.curtin
2010-01-26 03:08:39orsenthilsetmessageid: <>
2010-01-26 03:08:36orsenthillinkissue7776 messages
2010-01-26 03:08:36orsenthilcreate