PyDocs

Nav

Internet Protocols and Support

HTTPRedirectHandler

urllib.request

class (source) not WASI
A class to handle redirections.
Members of HTTPRedirectHandler

h

http_error_301
Redirect to the Location: or URI: URL.
http_error_302
The same as http_error_301(), but called for the ‘found’ response.
http_error_303
The same as http_error_301(), but called for the ‘see other’ response.
http_error_307
The same as http_error_301(), but called for the ‘temporary redirect’ response.
http_error_308
The same as http_error_301(), but called for the ‘permanent redirect’ response.

r

redirect_request
Return a Request or None in response to a redirect.
0 Examples
No examples for urllib.request/HTTPRedirectHandler.
See Also
No see-alsos for urllib.request/HTTPRedirectHandler
0 Notes
No notes for HTTPRedirectHandler