F
Fuzzyman
urllib2 (under windows) will auto-detect your proxy settings and use
those.
Normally that's a good thing (I guess), except when it's not !
How do I switch off this behaviour ? I'm behind a censoring proxy and
wanting to test things *locally*. IE is set to not use the proxy when
fetching local adresses, but urllib2 ignores that part of the setting
and uses the proxy for everything.
The only way I can test are changing my IE settings back and forth
every time. Most annoying.
I can see how to *add* a new proxy to urllib2, but not how to force it
to not use a proxy. I may well be missing something obvious though.
Anyone able to help ?
Regards,
Fuzzy
http://www.voidspace.org.uk/python/index.shtml
those.
Normally that's a good thing (I guess), except when it's not !
How do I switch off this behaviour ? I'm behind a censoring proxy and
wanting to test things *locally*. IE is set to not use the proxy when
fetching local adresses, but urllib2 ignores that part of the setting
and uses the proxy for everything.
The only way I can test are changing my IE settings back and forth
every time. Most annoying.
I can see how to *add* a new proxy to urllib2, but not how to force it
to not use a proxy. I may well be missing something obvious though.
Anyone able to help ?
Regards,
Fuzzy
http://www.voidspace.org.uk/python/index.shtml