urllib.ProxyHandler HTTPS issues
Devraj
devraj at gmail.com
Thu Oct 11 18:21:18 EDT 2007
More information about the Python-list mailing list
Thu Oct 11 18:21:18 EDT 2007
- Previous message (by thread): urllib.ProxyHandler HTTPS issues
- Next message (by thread): urllib.ProxyHandler HTTPS issues
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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, j... at pobox.com (John J. Lee) wrote: > Devraj <dev... 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. > > John
- Previous message (by thread): urllib.ProxyHandler HTTPS issues
- Next message (by thread): urllib.ProxyHandler HTTPS issues
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list