Home
last modified time | relevance | path

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

/third_party/python/Lib/distutils/tests/
Dtest_register.py86 self.old_opener = urllib.request.build_opener
87 self.conn = urllib.request.build_opener = FakeOpener()
92 urllib.request.build_opener = self.old_opener
/third_party/python/Lib/test/
Dtest_urllib2.py1328 opener = urllib.request.build_opener(handler)
1759 build_opener = urllib.request.build_opener
1761 o = build_opener(FooHandler, BarHandler)
1766 o = build_opener(FooHandler, BarHandler())
1771 o = build_opener(MyHTTPHandler)
1776 o = build_opener()
1778 o = build_opener(urllib.request.HTTPHandler)
1780 o = build_opener(urllib.request.HTTPHandler())
1787 o = build_opener(MyHTTPHandler, MyOtherHTTPHandler)
1795 opener = urllib.request.build_opener()
Dtest_urllib2net.py215 opener = urllib.request.build_opener()
251 urlopen = urllib.request.build_opener(*handlers).open
Dtest_urllib2_localnet.py307 urllib.request.install_opener(urllib.request.build_opener(ah))
316 urllib.request.install_opener(urllib.request.build_opener(ah))
352 self.opener = urllib.request.build_opener(
/third_party/python/Lib/distutils/command/
Dregister.py285 opener = urllib.request.build_opener(
/third_party/python/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)
/third_party/python/Lib/xml/dom/
Dxmlbuilder.py246 return urllib.request.build_opener()
/third_party/python/Lib/urllib/
Drequest.py208 opener = build_opener(https_handler)
211 opener = build_opener(https_handler)
213 _opener = opener = build_opener()
569 def build_opener(*handlers): function
/third_party/python/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))
Durllib.request.rst135 .. function:: build_opener([handler, ...])
1258 opener = urllib.request.build_opener(auth_handler)
1263 :func:`build_opener` provides many handlers by default, including a
1277 opener = urllib.request.build_opener(proxy_handler, proxy_auth_handler)
1296 opener = urllib.request.build_opener()
/third_party/python/Lib/test/support/
D__init__.py553 opener = urllib.request.build_opener()