The same as http_error_301(), but called for the ‘permanent redirect’ response. It does not allow changing the request method from POST to GET.
HTTPRedirectHandler.http_error_308(req, fp, code, msg, hdrs)