Home
last modified time | relevance | path

Searched refs:proxy_bypass_environment (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_urllib.py169 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_environment
215 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 …]
/external/python/cpython3/Lib/test/
Dtest_urllib.py232 self.assertTrue(urllib.request.proxy_bypass_environment('anotherdomain.com'))
233 self.assertTrue(urllib.request.proxy_bypass_environment('anotherdomain.com:8888'))
234 self.assertTrue(urllib.request.proxy_bypass_environment('newdomain.com:1234'))
249 bypass = urllib.request.proxy_bypass_environment
279 self.assertFalse(urllib.request.proxy_bypass_environment('localhost'))
280 self.assertFalse(urllib.request.proxy_bypass_environment('arbitrary'))
288 self.assertTrue(urllib.request.proxy_bypass_environment('localhost'))
289 self.assertTrue(urllib.request.proxy_bypass_environment('noproxy.com:5678'))
290 self.assertTrue(urllib.request.proxy_bypass_environment('my.proxy:1234'))
291 self.assertFalse(urllib.request.proxy_bypass_environment('my.proxy'))
[all …]
/external/python/cpython2/Lib/
Durllib.py1407 def proxy_bypass_environment(host, proxies=None): function
1517 return proxy_bypass_environment(host, proxies)
1640 return proxy_bypass_environment(host, proxies)
1647 proxy_bypass = proxy_bypass_environment
/external/python/cpython3/Lib/urllib/
Drequest.py2487 def proxy_bypass_environment(host, proxies=None): function
2608 return proxy_bypass_environment(host, proxies)
2730 return proxy_bypass_environment(host, proxies)
2737 proxy_bypass = proxy_bypass_environment