Setting http proxy programmatically
Davor Cengija
dcengija_remove_ at inet.hr
Wed Mar 19 10:00:06 EST 2003
Anand B Pillai wrote:
>
> authinfo=urllib2.HTTPBasicAuthHandler()
> opener=urllib2.build_opener(proxy_support, authinfo, urllib2.HTTPHandler)
> #install opener
> urllib2.install_opener(opener)
This was the key part: I thought i I don't need auth. then it fould be
acceptable to skip auth. handler and http handler, but I was wrong. It
works now.
Thanks!
Kind regards,
Davor
--
Davor Cengija, dcengija_remove_ at inet.hr
More information about the Python-list
mailing list