Searched refs:build_opener (Results 1 – 11 of 11) sorted by relevance
86 self.old_opener = urllib.request.build_opener87 self.conn = urllib.request.build_opener = FakeOpener()92 urllib.request.build_opener = self.old_opener
1328 opener = urllib.request.build_opener(handler)1759 build_opener = urllib.request.build_opener1761 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()
215 opener = urllib.request.build_opener()251 urlopen = urllib.request.build_opener(*handlers).open
307 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(
285 opener = urllib.request.build_opener(
437 Alternatively, you can use ``build_opener``, which is a convenience function for438 creating opener objects with a single function call. ``build_opener`` adds504 opener = urllib.request.build_opener(handler)516 ``build_opener``. By default openers have the handlers for normal situations542 >>> opener = urllib.request.build_opener(proxy_support)
246 return urllib.request.build_opener()
208 opener = build_opener(https_handler)211 opener = build_opener(https_handler)213 _opener = opener = build_opener()569 def build_opener(*handlers): function
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))
135 .. function:: build_opener([handler, ...])1258 opener = urllib.request.build_opener(auth_handler)1263 :func:`build_opener` provides many handlers by default, including a1277 opener = urllib.request.build_opener(proxy_handler, proxy_auth_handler)1296 opener = urllib.request.build_opener()
553 opener = urllib.request.build_opener()