Searched refs:build_opener (Results 1 – 25 of 28) sorted by relevance
12
/external/python/cpython2/Lib/distutils/tests/ |
D | test_register.py | 78 self.old_opener = urllib2.build_opener 79 self.conn = urllib2.build_opener = FakeOpener() 83 urllib2.build_opener = self.old_opener
|
/external/python/cpython3/Lib/distutils/tests/ |
D | test_register.py | 85 self.old_opener = urllib.request.build_opener 86 self.conn = urllib.request.build_opener = FakeOpener() 91 urllib.request.build_opener = self.old_opener
|
/external/python/cpython2/Lib/test/ |
D | test_urllib2net.py | 165 opener = urllib2.build_opener() 177 opener = urllib2.build_opener() 203 urlopen = urllib2.build_opener(*handlers).open
|
D | test_urllib2.py | 1274 build_opener = urllib2.build_opener 1276 o = build_opener(FooHandler, BarHandler) 1281 o = build_opener(FooHandler, BarHandler()) 1286 o = build_opener(MyHTTPHandler) 1291 o = build_opener() 1293 o = build_opener(urllib2.HTTPHandler) 1295 o = build_opener(urllib2.HTTPHandler()) 1300 o = build_opener(MyHTTPHandler, MyOtherHTTPHandler)
|
D | test_urllib2_localnet.py | 305 urllib2.install_opener(urllib2.build_opener(ah)) 317 urllib2.install_opener(urllib2.build_opener(ah)) 352 self.opener = urllib2.build_opener(handler, self.proxy_digest_handler) 447 opener = urllib2.build_opener(proxy_handler)
|
/external/python/apitools/apitools/base/py/ |
D | credentials_lib_test.py | 138 autospec=True) as build_opener: 140 self.assertEqual(1, build_opener.call_count)
|
D | util.py | 71 o = urllib_request.build_opener(urllib_request.ProxyHandler({})).open(
|
D | credentials_lib.py | 225 opener = urllib.request.build_opener(urllib.request.ProxyHandler({}))
|
/external/python/cpython3/Lib/test/ |
D | test_urllib2.py | 1326 opener = urllib.request.build_opener(handler) 1757 build_opener = urllib.request.build_opener 1759 o = build_opener(FooHandler, BarHandler) 1764 o = build_opener(FooHandler, BarHandler()) 1769 o = build_opener(MyHTTPHandler) 1774 o = build_opener() 1776 o = build_opener(urllib.request.HTTPHandler) 1778 o = build_opener(urllib.request.HTTPHandler()) 1785 o = build_opener(MyHTTPHandler, MyOtherHTTPHandler) 1793 opener = urllib.request.build_opener()
|
D | test_urllib2net.py | 180 opener = urllib.request.build_opener() 216 urlopen = urllib.request.build_opener(*handlers).open
|
D | test_urllib2_localnet.py | 306 urllib.request.install_opener(urllib.request.build_opener(ah)) 315 urllib.request.install_opener(urllib.request.build_opener(ah)) 351 self.opener = urllib.request.build_opener(
|
/external/autotest/client/common_lib/ |
D | file_utils.py | 143 opener = urllib.request.build_opener(proxy_handler)
|
/external/python/setuptools/setuptools/ |
D | ssl_support.py | 207 return urllib.request.build_opener(
|
/external/python/cpython2/Lib/ |
D | urllib2.py | 146 opener = build_opener(https_handler) 149 opener = build_opener(https_handler) 151 _opener = opener = build_opener() 479 def build_opener(*handlers): function
|
/external/python/cpython2/Doc/howto/ |
D | urllib2.rst | 416 Alternatively, you can use ``build_opener``, which is a convenience function for 417 creating opener objects with a single function call. ``build_opener`` adds 481 opener = urllib2.build_opener(handler) 493 ``build_opener``. By default openers have the handlers for normal situations 519 >>> opener = urllib2.build_opener(proxy_support)
|
/external/python/cpython2/Lib/distutils/command/ |
D | register.py | 295 opener = urllib2.build_opener(
|
/external/python/cpython3/Lib/distutils/command/ |
D | register.py | 285 opener = urllib.request.build_opener(
|
/external/python/cpython3/Doc/howto/ |
D | urllib2.rst | 437 Alternatively, you can use ``build_opener``, which is a convenience function for 438 creating opener objects with a single function call. ``build_opener`` adds 504 opener = urllib.request.build_opener(handler) 516 ``build_opener``. By default openers have the handlers for normal situations 542 >>> opener = urllib.request.build_opener(proxy_support)
|
/external/python/cpython2/Lib/xml/dom/ |
D | xmlbuilder.py | 246 return urllib2.build_opener()
|
/external/python/cpython3/Lib/xml/dom/ |
D | xmlbuilder.py | 246 return urllib.request.build_opener()
|
/external/python/cpython2/Doc/library/ |
D | urllib2.rst | 98 .. function:: build_opener([handler, ...]) 997 opener = urllib2.build_opener(auth_handler) 1002 :func:`build_opener` provides many handlers by default, including a 1016 opener = urllib2.build_opener(proxy_handler, proxy_auth_handler) 1035 opener = urllib2.build_opener()
|
D | cookielib.rst | 746 opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cj)) 755 opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cj)) 769 opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cj))
|
/external/python/cpython3/Lib/urllib/ |
D | request.py | 206 opener = build_opener(https_handler) 209 opener = build_opener(https_handler) 211 _opener = opener = build_opener() 567 def build_opener(*handlers): function
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.6a3.rst | 45 Fix a failure in urllib2.build_opener(), when passed two handlers that
|
/external/python/cpython3/Doc/library/ |
D | http.cookiejar.rst | 744 opener = urllib.request.build_opener(urllib.request.HTTPCookieProcessor(cj)) 753 opener = urllib.request.build_opener(urllib.request.HTTPCookieProcessor(cj)) 767 opener = urllib.request.build_opener(urllib.request.HTTPCookieProcessor(cj))
|
12