Thanks John. Will investigate sending the CONNECT command to handle proxies.
Do you recommend doing this for HTTP proxies as well or should I just use the ProxyHandler for HTTP proxies? On Oct 12, 4:29 am, [EMAIL PROTECTED] (John J. Lee) wrote: > Devraj <[EMAIL PROTECTED]> 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. > > John -- http://mail.python.org/mailman/listinfo/python-list