Home
last modified time | relevance | path

Searched refs:HTTPBasicAuthHandler (Results 1 – 13 of 13) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_urllib2.py17 from urllib.request import (Request, OpenerDirector, HTTPBasicAuthHandler,
1466 auth_handler = urllib.request.HTTPBasicAuthHandler(password_manager)
1561 class TestBasicAuthHandler(urllib.request.HTTPBasicAuthHandler):
1564 urllib.request.HTTPBasicAuthHandler.http_error_401(self,
1601 basic_auth_handler = urllib.request.HTTPBasicAuthHandler(None)
1655 auth_prior_handler = HTTPBasicAuthHandler(pwd_manager)
1679 auth_prior_handler = HTTPBasicAuthHandler(pwd_manager)
Dtest_urllib2_localnet.py304 ah = urllib.request.HTTPBasicAuthHandler()
313 ah = urllib.request.HTTPBasicAuthHandler()
/external/python/cpython2/Doc/howto/
Durllib2.rst437 ``HTTPBasicAuthHandler``. For a more detailed discussion of this subject --
455 ``HTTPBasicAuthHandler`` and an opener to use this handler.
457 The ``HTTPBasicAuthHandler`` uses an object called a password manager to handle
478 handler = urllib2.HTTPBasicAuthHandler(password_mgr)
492 In the above example we only supplied our ``HTTPBasicAuthHandler`` to
/external/python/cpython2/Lib/distutils/command/
Dregister.py296 urllib2.HTTPBasicAuthHandler(password_mgr=auth)
/external/python/cpython3/Lib/distutils/command/
Dregister.py286 urllib.request.HTTPBasicAuthHandler(password_mgr=auth)
/external/python/cpython2/Lib/test/
Dtest_urllib2.py1131 auth_handler = urllib2.HTTPBasicAuthHandler(password_manager)
1150 auth_handler = urllib2.HTTPBasicAuthHandler(password_manager)
1202 class TestBasicAuthHandler(urllib2.HTTPBasicAuthHandler):
1205 urllib2.HTTPBasicAuthHandler.http_error_401(self,
Dtest_urllib2_localnet.py303 ah = urllib2.HTTPBasicAuthHandler()
314 ah = urllib2.HTTPBasicAuthHandler()
/external/python/cpython3/Doc/howto/
Durllib2.rst458 ``HTTPBasicAuthHandler``. For a more detailed discussion of this subject --
478 ``HTTPBasicAuthHandler`` and an opener to use this handler.
480 The ``HTTPBasicAuthHandler`` uses an object called a password manager to handle
501 handler = urllib.request.HTTPBasicAuthHandler(password_mgr)
515 In the above example we only supplied our ``HTTPBasicAuthHandler`` to
/external/python/cpython2/Doc/library/
Durllib2.rst259 .. class:: HTTPBasicAuthHandler([password_mgr])
791 HTTPBasicAuthHandler Objects
795 .. method:: HTTPBasicAuthHandler.http_error_401(req, fp, code, msg, hdrs)
992 auth_handler = urllib2.HTTPBasicAuthHandler()
/external/python/cpython3/Doc/library/
Durllib.request.rst362 .. class:: HTTPBasicAuthHandler(password_mgr=None)
367 be supported. HTTPBasicAuthHandler will raise a :exc:`ValueError` when
989 HTTPBasicAuthHandler Objects
993 .. method:: HTTPBasicAuthHandler.http_error_401(req, fp, code, msg, hdrs)
1248 auth_handler = urllib.request.HTTPBasicAuthHandler()
/external/python/cpython2/Lib/
Durllib2.py902 class HTTPBasicAuthHandler(AbstractBasicAuthHandler, BaseHandler): class
/external/python/six/documentation/
Dindex.rst784 * :class:`py2:urllib2.HTTPBasicAuthHandler`
/external/python/cpython3/Lib/urllib/
Drequest.py1044 class HTTPBasicAuthHandler(AbstractBasicAuthHandler, BaseHandler): class