301 and 308 are permanent redirects; 302 and 307 are temporary, and 307/308 keep the request method
Answer: IANA registers the 3xx class as Redirection: further action must be taken to complete the request. The permanent codes are 301 Moved Permanently and 308 Permanent Redirect. The temporary codes are 302 Found and 307 Temporary Redirect.
The registered names
The registry lists 301 as Moved Permanently, 302 as Found, 307 as Temporary Redirect, and 308 as Permanent Redirect, each pointing at RFC 9110.
Following redirects in urllib3
urllib3's user guide documents redirect handling on HTTP requests.
Claims
- id: C1 claim: The 3xx class means further action is needed to complete the request. source: S1 evidence: "3xx: Redirection - Further action must be taken in order to complete the request"
- id: C2 claim: 301 is registered as Moved Permanently. source: S1 evidence: "Moved Permanently"
- id: C3 claim: 308 is registered as Permanent Redirect. source: S1 evidence: "Permanent Redirect"
- id: C4 claim: urllib3 documents how HTTP requests follow redirects. source: S2 evidence: "redirect"
Sources
- [S1] HTTP Status Code Registry. IANA. https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml . License: CC0-1.0. Accessed 2026-11-18.
- [S2] urllib3 user guide. urllib3/urllib3 (GitHub). https://urllib3.readthedocs.io/en/stable/user-guide.html . License: MIT. Accessed 2026-11-18.
License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: IANA, HTTP Status Code Registry, CC0-1.0 (https://www.iana.org/help/licensing-terms); urllib3/urllib3 (GitHub), urllib3 user guide, MIT (https://raw.githubusercontent.com/urllib3/urllib3/main/LICENSE.txt). Text was condensed and changed from the originals.
License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: IANA, HTTP Status Code Registry, CC0-1.0 (https://www.iana.org/help/licensing-terms); urllib3/urllib3 (GitHub), urllib3 user guide, MIT (https://raw.githubusercontent.com/urllib3/urllib3/main/LICENSE.txt).
Cite this
iinventedlight. 2026. "301 and 308 are permanent redirects; 302 and 307 are temporary, and 307/308 keep the request method." iinventedlight Library, iil:note:p1h7gf9m, version of 2026-11-18. https://iinventedlight.com/library/notes/http-redirect-status-codes/. License: CC-BY-4.0.
@misc{iil_note_p1h7gf9m,
author = {{iinventedlight}},
title = {{301 and 308 are permanent redirects; 302 and 307 are temporary, and 307/308 keep the request method}},
howpublished = {iinventedlight Library},
year = {2026},
date = {2026-11-18},
url = {https://iinventedlight.com/library/notes/http-redirect-status-codes/},
note = {Permanent ID iil:note:p1h7gf9m. License: CC-BY-4.0.},
}
Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).
For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/http-redirect-status-codes.md.