[Python-bugs-list] [ python-Bugs-445815 ] urllib doesn't handle proxy exceptions

noreply@sourceforge.net noreply@sourceforge.net
Sun, 29 Jul 2001 19:01:29 -0700


Bugs item #445815, was opened at 2001-07-29 19:01
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=445815&group_id=5470

Category: Extension Modules
Group: Python 2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Dylan Jay (djsq)
Assigned to: Nobody/Anonymous (nobody)
Summary: urllib doesn't handle proxy exceptions

Initial Comment:
When using urllib in a firewall environment when a 
proxy is set, the proxy will be used for all 
connections regardless of if the host is located 
inside or outside the firewall. Localhost is a good 
example of this.
Under a windows environment the registry contains a 
proxy exception list which contains patterns which 
match hosts that should not be directed through the 
proxy. This should be used.
Under other environments perhaps an environment 
variable be used to determine the exceptions
eg
http_proxy_expceptions 
= "*.mydomain.com;*.myotherdomain.com"

Localhost should never be directed through a proxy.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=445815&group_id=5470