New submission from Jiri Hnidek: Module urllib contains method proxy_bypass_environment(domain_name). This method check if domain_name should be excluded from proxying. The domain_name is checked against environment variable no_proxy or NO_PROXY. This variable contains comma separated list of domain names/domains. Domains can be specified in following variants:
- domain.com - .domain.com - *.domain.com Method proxy_bypass_environment support first two variants, but it doesn't support variant with asterisk at beginning of domain. The last variant is not anything unusual; e.g.: https://www.gnu.org/software/emacs/manual/html_node/url/Proxies.html ---------- components: Library (Lib) messages: 294388 nosy: Jiri Hnidek priority: normal severity: normal status: open title: urllib does not support NO_PROXY environment variable containing domain with asterisk type: enhancement versions: Python 3.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30462> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com