urllib2 Opener and Proxy/Authentication issues

John J. Lee jjl at pobox.com
Tue Nov 8 14:57:37 EST 2005


"Ray Slakinski" <ray.slakinski at gmail.com> writes:
[...]
> ps: settings.GlobalProxySetting is defined as a string, for example:
> 
> non-authenticated proxy: "http://192.168.1.1:3128"
> authenticated proxy: "http://user:pass@192.168.1.1:3128"
[...]

IIRC urllib2 is slightly broken wrt proxy auth and the @ syntax.  I
think I even explained here or on wwwsearch-general mailing list what
needed fixing -- IIRC again, it's very simple to fix but of course
needs testing, a unit test case adding, posting a patch on the SF
tracker.  Go for it!


John




More information about the Python-list mailing list