urllib.request.HTTPSHandler.https_open()

HTTPSHandler.https_open(req) Send an HTTPS request, which can be either GET or POST, depending on req.has_data().

urllib.request.HTTPSHandler

class urllib.request.HTTPSHandler(debuglevel=0, context=None, check_hostname=None) A class to handle opening of HTTPS URLs. context and check_hostname have the same meaning as in http.client.HTTPSConnection. Changed in version 3.2: context and check_hostname were added.

urllib.request.HTTPRedirectHandler.redirect_request()

HTTPRedirectHandler.redirect_request(req, fp, code, msg, hdrs, newurl) Return a Request or None in response to a redirect. This is called by the default implementations of the http_error_30*() methods when a redirection is received from the server. If a redirection should take place, return a new Request to allow http_error_30*() to perform the redirect to newurl. Otherwise, raise HTTPError if no other handler should try to handle this URL, or return None if you can’t but another handler mig

urllib.request.HTTPRedirectHandler.http_error_307()

HTTPRedirectHandler.http_error_307(req, fp, code, msg, hdrs) The same as http_error_301(), but called for the ‘temporary redirect’ response.

urllib.request.HTTPRedirectHandler.http_error_303()

HTTPRedirectHandler.http_error_303(req, fp, code, msg, hdrs) The same as http_error_301(), but called for the ‘see other’ response.

urllib.request.HTTPRedirectHandler.http_error_302()

HTTPRedirectHandler.http_error_302(req, fp, code, msg, hdrs) The same as http_error_301(), but called for the ‘found’ response.

urllib.request.HTTPRedirectHandler.http_error_301()

HTTPRedirectHandler.http_error_301(req, fp, code, msg, hdrs) Redirect to the Location: or URI: URL. This method is called by the parent OpenerDirector when getting an HTTP ‘moved permanently’ response.

urllib.request.HTTPRedirectHandler

class urllib.request.HTTPRedirectHandler A class to handle redirections.

urllib.request.HTTPPasswordMgrWithPriorAuth.update_authenticated()

HTTPPasswordMgrWithPriorAuth.update_authenticated(self, uri, is_authenticated=False) Update the is_authenticated flag for the given uri or list of URIs.

urllib.request.HTTPPasswordMgrWithPriorAuth.is_authenticated()

HTTPPasswordMgrWithPriorAuth.is_authenticated(self, authuri) Returns the current state of the is_authenticated flag for the given URI.