urllib2, https, and proxies

Fuzzyman fuzzyman at gmail.com
Wed Jun 29 14:48:49 EDT 2005


Hello all (well, some of you I guess),

Is it true that you can't configure a proxy handler for urllib2 to
fetch https URLs through a proxy ?

I know that you pass a dictionary, keyed by protocol, to the proxy
handler - but when we get an exception when we fetch an https URL.

Fetching the same URL, through the same proxy, with a browser works
fine.

Sorry I can't post code and a traceback - can do that tomorrow if
necessary.

Best Regards,

Fuzzy
http://www.voidspace.org.uk/python




More information about the Python-list mailing list