urllib2 not support proxy on SSL connection?

John J. Lee jjl at pobox.com
Tue May 2 21:53:35 EDT 2006


Heiko Wundram <me+python at modelnine.org> writes:

> Am Dienstag 02 Mai 2006 23:22 schrieb itay_k:
> > Is it possible that urllib2 doesnt support for proxy over https
> > connections?
> 
> Are you sure this a proxy which is accessed by https, or rather a proxy that 
> supports CONNECT, and thus allows you to access https-sites? I'd guess the 
> latter, which I haven't gotten to work with urllib2 so far.
[...]

There's a patch on SF that implements this (CONNECT), but it's fairly
nasty and would need rewriting to get into the stdlib.


John




More information about the Python-list mailing list