Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/test/
Dtest_urllib2.py10 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/
Durllib2.rst74 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/
Dtest_urllib2.py17 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/
Durllib.request.rst76 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/
Durllib2.rst402 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/
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)
/external/python/cpython2/Lib/
Durllib2.py336 class OpenerDirector: class
492 opener = OpenerDirector()
/external/googletest/googletest/scripts/
Dupload.py375 opener = urllib2.OpenerDirector()
/external/python/cpython3/Lib/urllib/
Drequest.py424 class OpenerDirector: class
576 opener = OpenerDirector()
/external/python/six/documentation/
Dindex.rst775 * :class:`py2:urllib2.OpenerDirector`
/external/python/cpython3/Doc/whatsnew/
D3.4.rst1640 :meth:`.OpenerDirector.open` call with different *data* arguments, or to