Posted inhttp Python modules
Managing HTTP Redirects with http.client.HTTPRedirectHandler
HTTP 301, 302, 307, 308 redirects for POST requests. Preserving the request method vs changing to GET. Python urllib.request.HTTPRedirectHandler example.