Searched refs:HTTPBasicAuthHandler (Results 1 – 6 of 6) sorted by relevance
19 from urllib.request import (Request, OpenerDirector, HTTPBasicAuthHandler,1468 auth_handler = urllib.request.HTTPBasicAuthHandler(password_manager)1563 class TestBasicAuthHandler(urllib.request.HTTPBasicAuthHandler):1566 urllib.request.HTTPBasicAuthHandler.http_error_401(self,1603 basic_auth_handler = urllib.request.HTTPBasicAuthHandler(None)1657 auth_prior_handler = HTTPBasicAuthHandler(pwd_manager)1681 auth_prior_handler = HTTPBasicAuthHandler(pwd_manager)
305 ah = urllib.request.HTTPBasicAuthHandler()314 ah = urllib.request.HTTPBasicAuthHandler()
286 urllib.request.HTTPBasicAuthHandler(password_mgr=auth)
458 ``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 handle501 handler = urllib.request.HTTPBasicAuthHandler(password_mgr)515 In the above example we only supplied our ``HTTPBasicAuthHandler`` to
367 .. class:: HTTPBasicAuthHandler(password_mgr=None)372 be supported. HTTPBasicAuthHandler will raise a :exc:`ValueError` when994 HTTPBasicAuthHandler Objects998 .. method:: HTTPBasicAuthHandler.http_error_401(req, fp, code, msg, hdrs)1253 auth_handler = urllib.request.HTTPBasicAuthHandler()
1050 class HTTPBasicAuthHandler(AbstractBasicAuthHandler, BaseHandler): class