Searched refs:HTTPBasicAuthHandler (Results 1 – 6 of 6) sorted by relevance
19 from urllib.request import (Request, OpenerDirector, HTTPBasicAuthHandler,1486 auth_handler = urllib.request.HTTPBasicAuthHandler(password_manager)1581 class TestBasicAuthHandler(urllib.request.HTTPBasicAuthHandler):1584 urllib.request.HTTPBasicAuthHandler.http_error_401(self,1621 basic_auth_handler = urllib.request.HTTPBasicAuthHandler(None)1675 auth_prior_handler = HTTPBasicAuthHandler(pwd_manager)1700 auth_prior_handler = HTTPBasicAuthHandler(pwd_manager)
308 ah = urllib.request.HTTPBasicAuthHandler()317 ah = urllib.request.HTTPBasicAuthHandler()
451 ``HTTPBasicAuthHandler``. For a more detailed discussion of this subject --471 ``HTTPBasicAuthHandler`` and an opener to use this handler.473 The ``HTTPBasicAuthHandler`` uses an object called a password manager to handle494 handler = urllib.request.HTTPBasicAuthHandler(password_mgr)508 In the above example we only supplied our ``HTTPBasicAuthHandler`` to
286 urllib.request.HTTPBasicAuthHandler(password_mgr=auth)
369 .. class:: HTTPBasicAuthHandler(password_mgr=None)374 be supported. HTTPBasicAuthHandler will raise a :exc:`ValueError` when1007 HTTPBasicAuthHandler Objects1011 .. method:: HTTPBasicAuthHandler.http_error_401(req, fp, code, msg, hdrs)1266 auth_handler = urllib.request.HTTPBasicAuthHandler()
1050 class HTTPBasicAuthHandler(AbstractBasicAuthHandler, BaseHandler): class