Home
last modified time | relevance | path

Searched refs:OpenerDirector (Results 1 – 6 of 6) sorted by relevance

/third_party/python/Lib/test/
Dtest_urllib2.py19 from urllib.request import (Request, OpenerDirector, HTTPBasicAuthHandler,
464 opener = OpenerDirector()
548 OpenerDirector().add_handler, NonHandler())
561 o = OpenerDirector()
573 o = OpenerDirector()
598 o = OpenerDirector()
617 o = OpenerDirector()
631 o = OpenerDirector()
653 o = OpenerDirector()
1035 o = OpenerDirector()
[all …]
/third_party/python/Doc/library/
Durllib.request.rst76 the default installed global :class:`OpenerDirector` uses
127 Install an :class:`OpenerDirector` instance as the default global opener.
129 opener; otherwise, simply call :meth:`OpenerDirector.open` instead of
131 :class:`OpenerDirector`, and any class with the appropriate interface will
137 Return an :class:`OpenerDirector` instance, which chains the handlers in the
271 .. class:: OpenerDirector()
273 The :class:`OpenerDirector` class opens URLs via :class:`BaseHandler`\ s chained
605 OpenerDirector Objects
608 :class:`OpenerDirector` instances have the following methods:
611 .. method:: OpenerDirector.add_handler(handler)
[all …]
/third_party/python/Doc/howto/
Durllib2.rst423 confusingly-named :class:`urllib.request.OpenerDirector`). Normally we have been using
434 To create an opener, instantiate an ``OpenerDirector``, and then call
503 # create "opener" (OpenerDirector instance)
/third_party/googletest/googletest/scripts/
Dupload.py375 opener = urllib2.OpenerDirector()
/third_party/python/Lib/urllib/
Drequest.py426 class OpenerDirector: class
578 opener = OpenerDirector()
/third_party/python/Doc/whatsnew/
D3.4.rst1640 :meth:`.OpenerDirector.open` call with different *data* arguments, or to