urllib.request.HTTPCookieProcessor.cookiejar

HTTPCookieProcessor.cookiejar The http.cookiejar.CookieJar in which cookies are stored.

urllib.request.HTTPDigestAuthHandler

class urllib.request.HTTPDigestAuthHandler(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. When both Digest Authentication Handler and Basic Authentication Handler are both added, Digest Authentication is always tried first. If the Digest Authentication returns a 40x response again, it is sent to

urllib.request.HTTPErrorProcessor

class urllib.request.HTTPErrorProcessor Process HTTP error responses.

urllib.request.HTTPDigestAuthHandler.http_error_401()

HTTPDigestAuthHandler.http_error_401(req, fp, code, msg, hdrs) Retry the request with authentication information, if available.

urllib.request.HTTPDefaultErrorHandler

class urllib.request.HTTPDefaultErrorHandler A class which defines a default handler for HTTP error responses; all responses are turned into HTTPError exceptions.

urllib.request.FTPHandler

class urllib.request.FTPHandler Open FTP URLs.

urllib.request.getproxies()

urllib.request.getproxies() This helper function returns a dictionary of scheme to proxy server URL mappings. It scans the environment for variables named <scheme>_proxy, in a case insensitive approach, for all operating systems first, and when it cannot find it, looks for proxy information from Mac OSX System Configuration for Mac OS X and Windows Systems Registry for Windows. If both lowercase and uppercase environment variables exist (and disagree), lowercase is preferred. Note If

urllib.request.FTPHandler.ftp_open()

FTPHandler.ftp_open(req) Open the FTP file indicated by req. The login is always done with empty username and password.

urllib.request.HTTPBasicAuthHandler

class urllib.request.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.

urllib.request.HTTPBasicAuthHandler.http_error_401()

HTTPBasicAuthHandler.http_error_401(req, fp, code, msg, hdrs) Retry the request with authentication information, if available.