Author orsenthil
Recipients brian.curtin, cameron, orsenthil
Date 2010-01-26.03:08:36
SpamBayes Score 0.0075457
Marked as misclassified No
Message-id <1264475319.23.0.146535977649.issue7776@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010-01-26 03:08:39orsenthilsetrecipients: + orsenthil, cameron, brian.curtin
2010-01-26 03:08:39orsenthilsetmessageid: <1264475319.23.0.146535977649.issue7776@psf.upfronthosting.co.za>
2010-01-26 03:08:36orsenthillinkissue7776 messages
2010-01-26 03:08:36orsenthilcreate