urllib2 Opener and Proxy/Authentication issues

2005-11-08 Thread Ray Slakinski
Hello, I have defined a function to set an opener for urllib2, this opener defines any proxy and http authentication that is required. If the proxy has authencation itself and requests an authenticated file I get a HTTP status code of 401 (Unauthorized access of the file being requested) I do see

Re: urllib2 Opener and Proxy/Authentication issues

2005-11-08 Thread John J. Lee
"Ray Slakinski" <[EMAIL PROTECTED]> writes: [...] > ps: settings.GlobalProxySetting is defined as a string, for example: > > non-authenticated proxy: "http://192.168.1.1:3128"; > authenticated proxy: "http://user:[EMAIL PROTECTED]:3128" [...] IIRC urllib2 is slightly broken wrt proxy auth and the