urllib2.proxy_bypass()

urllib2.proxy_bypass(host, proxies=None)[source]

Test if proxies should not be used for a particular host.

Checks the proxies dict for the value of no_proxy, which should be a list of comma separated DNS suffixes, or ‘*’ for all hosts.