How to authenticate to a proxy server with the FancyURLopener cla ss methods ?
Bocquillon Philippe
Philippe.Bocquillon at trasys.be
Tue Sep 18 05:43:09 EDT 2001
Hello all,
I am using the class urllib.FancyURLopener. It worked well until my company
decided to change the proxy server so it is now requiring authentication
username/password.
I see FancyURLopener has the methods to deal with this but I cannot figure
out how to use them, in particular http_error_401 and its various parameters
fp, errcode, errmsg, headers, data.
Could anybody send me some explanations or code example ?
Please note I am running python in Zope environment.
Thanks a lot in advance,
Philippe Bocquillon
More information about the Python-list
mailing list