PyDocs

Nav

Internet Protocols and Support

HTTPBasicAuthHandler

urllib.request

class (source) not WASI
  • HTTPBasicAuthHandler(password_mgr=None)
Handle authentication with the remote host. password_mgr, if given, should be something that is compatible with HTTPPasswordMgr; refer to section HTTPPasswordMgr Objects for information on the interface that must be supported. HTTPBasicAuthHandler will raise a ValueError when presented with a wrong Authentication scheme.
Members of HTTPBasicAuthHandler

h

http_error_401
Retry the request with authentication information, if available.
0 Examples
No examples for urllib.request/HTTPBasicAuthHandler.
See Also
No see-alsos for urllib.request/HTTPBasicAuthHandler
0 Notes
No notes for HTTPBasicAuthHandler