urllib.ProxyHandler HTTPS issues
John J. Lee
jjl at pobox.com
Thu Oct 11 20:29:12 CEST 2007
Devraj <devraj at gmail.com> writes:
> Hi everyone,
> I have been reading various documents/posts on the web about handling
> proxy options in urllib2. Some of them suggest that urllib2 doesn't
> handle HTTPS and others say it does. I have successfully written code
> that relays HTTP connections via a proxy but have failed to do the
> same for HTTPS connections.
urllib2 does not support "HTTPS proxies" (it does not support use of
the CONNECT method).
> Can anyone confirm if urllib2 can handle HTTPS,
Yes, it can.
More information about the Python-list