Home
last modified time | relevance | path

Searched refs:build_opener (Results 1 – 25 of 28) sorted by relevance

12

/external/python/cpython2/Lib/distutils/tests/
Dtest_register.py78 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/
Dtest_register.py85 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/
Dtest_urllib2net.py165 opener = urllib2.build_opener()
177 opener = urllib2.build_opener()
203 urlopen = urllib2.build_opener(*handlers).open
Dtest_urllib2.py1274 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)
Dtest_urllib2_localnet.py305 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/
Dcredentials_lib_test.py138 autospec=True) as build_opener:
140 self.assertEqual(1, build_opener.call_count)
Dutil.py71 o = urllib_request.build_opener(urllib_request.ProxyHandler({})).open(
Dcredentials_lib.py225 opener = urllib.request.build_opener(urllib.request.ProxyHandler({}))
/external/python/cpython3/Lib/test/
Dtest_urllib2.py1326 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()
Dtest_urllib2net.py180 opener = urllib.request.build_opener()
216 urlopen = urllib.request.build_opener(*handlers).open
Dtest_urllib2_localnet.py306 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/
Dfile_utils.py143 opener = urllib.request.build_opener(proxy_handler)
/external/python/setuptools/setuptools/
Dssl_support.py207 return urllib.request.build_opener(
/external/python/cpython2/Lib/
Durllib2.py146 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/
Durllib2.rst416 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/
Dregister.py295 opener = urllib2.build_opener(
/external/python/cpython3/Lib/distutils/command/
Dregister.py285 opener = urllib.request.build_opener(
/external/python/cpython3/Doc/howto/
Durllib2.rst437 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/
Dxmlbuilder.py246 return urllib2.build_opener()
/external/python/cpython3/Lib/xml/dom/
Dxmlbuilder.py246 return urllib.request.build_opener()
/external/python/cpython2/Doc/library/
Durllib2.rst98 .. 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()
Dcookielib.rst746 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/
Drequest.py206 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/
D2.6a3.rst45 Fix a failure in urllib2.build_opener(), when passed two handlers that
/external/python/cpython3/Doc/library/
Dhttp.cookiejar.rst744 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