Searched refs:proxy_bypass_environment (Results 1 – 5 of 5) sorted by relevance
169 self.assertTrue(urllib.proxy_bypass_environment('anotherdomain.com'))170 self.assertTrue(urllib.proxy_bypass_environment('anotherdomain.com:8888'))171 self.assertTrue(urllib.proxy_bypass_environment('newdomain.com:1234'))186 bypass = urllib.proxy_bypass_environment215 self.assertFalse(urllib.proxy_bypass_environment('localhost'))216 self.assertFalse(urllib.proxy_bypass_environment('arbitrary'))224 self.assertTrue(urllib.proxy_bypass_environment('localhost'))225 self.assertTrue(urllib.proxy_bypass_environment('noproxy.com:5678'))226 self.assertTrue(urllib.proxy_bypass_environment('my.proxy:1234'))227 self.assertFalse(urllib.proxy_bypass_environment('my.proxy'))[all …]
251 self.assertTrue(urllib.request.proxy_bypass_environment('anotherdomain.com'))252 self.assertTrue(urllib.request.proxy_bypass_environment('anotherdomain.com:8888'))253 self.assertTrue(urllib.request.proxy_bypass_environment('newdomain.com:1234'))268 bypass = urllib.request.proxy_bypass_environment287 bypass = urllib.request.proxy_bypass_environment297 bypass = urllib.request.proxy_bypass_environment320 self.assertFalse(urllib.request.proxy_bypass_environment('localhost'))321 self.assertFalse(urllib.request.proxy_bypass_environment('arbitrary'))329 self.assertTrue(urllib.request.proxy_bypass_environment('localhost'))330 self.assertTrue(urllib.request.proxy_bypass_environment('noproxy.com:5678'))[all …]
1407 def proxy_bypass_environment(host, proxies=None): function1517 return proxy_bypass_environment(host, proxies)1640 return proxy_bypass_environment(host, proxies)1647 proxy_bypass = proxy_bypass_environment
2513 def proxy_bypass_environment(host, proxies=None): function2641 return proxy_bypass_environment(host, proxies)2763 return proxy_bypass_environment(host, proxies)2770 proxy_bypass = proxy_bypass_environment
614 :func:`urllib.request.proxy_bypass_environment` now ignores leading dots and