Searched refs:OpenerDirector (Results 1 – 11 of 11) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_urllib2.py | 10 from urllib2 import Request, OpenerDirector, AbstractDigestAuthHandler 406 opener = OpenerDirector() 466 OpenerDirector().add_handler, NonHandler()) 479 o = OpenerDirector() 491 o = OpenerDirector() 516 o = OpenerDirector() 535 o = OpenerDirector() 553 o = OpenerDirector() 579 o = OpenerDirector() 1058 o = OpenerDirector() [all …]
|
/external/python/cpython2/Doc/library/ |
D | urllib2.rst | 74 default installed global :class:`OpenerDirector` uses :class:`UnknownHandler` to 91 Install an :class:`OpenerDirector` instance as the default global opener. 93 otherwise, simply call :meth:`OpenerDirector.open` instead of :func:`urlopen`. 94 The code does not check for a real :class:`OpenerDirector`, and any class with 100 Return an :class:`OpenerDirector` instance, which chains the handlers in the 192 .. class:: OpenerDirector() 194 The :class:`OpenerDirector` class opens URLs via :class:`BaseHandler`\ s chained 449 OpenerDirector Objects 452 :class:`OpenerDirector` instances have the following methods: 455 .. method:: OpenerDirector.add_handler(handler) [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_urllib2.py | 17 from urllib.request import (Request, OpenerDirector, HTTPBasicAuthHandler, 462 opener = OpenerDirector() 546 OpenerDirector().add_handler, NonHandler()) 559 o = OpenerDirector() 571 o = OpenerDirector() 596 o = OpenerDirector() 615 o = OpenerDirector() 629 o = OpenerDirector() 651 o = OpenerDirector() 1033 o = OpenerDirector() [all …]
|
/external/python/cpython3/Doc/library/ |
D | urllib.request.rst | 76 the default installed global :class:`OpenerDirector` uses 122 Install an :class:`OpenerDirector` instance as the default global opener. 124 opener; otherwise, simply call :meth:`OpenerDirector.open` instead of 126 :class:`OpenerDirector`, and any class with the appropriate interface will 132 Return an :class:`OpenerDirector` instance, which chains the handlers in the 266 .. class:: OpenerDirector() 268 The :class:`OpenerDirector` class opens URLs via :class:`BaseHandler`\ s chained 600 OpenerDirector Objects 603 :class:`OpenerDirector` instances have the following methods: 606 .. method:: OpenerDirector.add_handler(handler) [all …]
|
/external/python/cpython2/Doc/howto/ |
D | urllib2.rst | 402 confusingly-named :class:`urllib2.OpenerDirector`). Normally we have been using 413 To create an opener, instantiate an ``OpenerDirector``, and then call 480 # create "opener" (OpenerDirector instance)
|
/external/python/cpython3/Doc/howto/ |
D | urllib2.rst | 423 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)
|
/external/python/cpython2/Lib/ |
D | urllib2.py | 336 class OpenerDirector: class 492 opener = OpenerDirector()
|
/external/googletest/googletest/scripts/ |
D | upload.py | 375 opener = urllib2.OpenerDirector()
|
/external/python/cpython3/Lib/urllib/ |
D | request.py | 424 class OpenerDirector: class 576 opener = OpenerDirector()
|
/external/python/six/documentation/ |
D | index.rst | 775 * :class:`py2:urllib2.OpenerDirector`
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.4.rst | 1640 :meth:`.OpenerDirector.open` call with different *data* arguments, or to
|