Home
last modified time | relevance | path

Searched refs:proxy_bypass_environment (Results 1 – 5 of 5) 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.py251 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_environment
287 bypass = urllib.request.proxy_bypass_environment
297 bypass = urllib.request.proxy_bypass_environment
320 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 …]
/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.py2513 def proxy_bypass_environment(host, proxies=None): function
2641 return proxy_bypass_environment(host, proxies)
2763 return proxy_bypass_environment(host, proxies)
2770 proxy_bypass = proxy_bypass_environment
/external/python/cpython3/Misc/NEWS.d/
D3.9.0a3.rst614 :func:`urllib.request.proxy_bypass_environment` now ignores leading dots and