302 / 307
Temporary redirects. 307 preserves method and body; 302 is historically ambiguous.
Overview
302 and 307 are temporary redirects: they tell clients that the resource is temporarily available at another URL, so the original URL should remain the canonical address. 307 preserves the request method and body, while 302 is historically ambiguous and many clients rewrite a POST to GET.
Use 302 for temporary GET/HEAD moves or tests, and 307 when a POST or PUT must stay unchanged. For permanent moves use 301 or 308. Always test the method and final URL, because a 302 on a form endpoint can silently resubmit as GET.
301, 302, 307 and 308 at a glance
| Code | Type | Method | Typical use |
|---|---|---|---|
301 | Permanent | May become GET | Permanent GET/HEAD move |
302 | Temporary | May become GET | Temporary move or test |
307 | Temporary | Preserved | Temporary POST/PUT move |
308 | Permanent | Preserved | Permanent POST/PUT move |
Examples
Try a live check with http://github.com using Redirect Checker.
Redirect CheckerHow to use it
- Open Redirect Checker and run it against a real target such as http://github.com.
- Compare the raw answer with the definition and the example above; do not rely on the summary alone.
- If the answer differs, use the troubleshooting checks below and confirm with a second source before changing anything.
What to watch for
- The status code decides whether 302 / 307 preserves the method and body; use 307/308 when the request must stay a POST.
- A result applies only to the exact target, configuration and scope you tested; check sibling names, hosts or paths separately.
- A single check shows one target from one environment; confirm 302 / 307 with a second tool, device or source before you change anything.
Why it matters
HTTP headers, redirects, ports, ping and browser network checks.
2 tools use this term
Host / NetworkWhere to check it
Use Redirect Checker, Redirect Chain Checker to inspect it directly. Each tool shows the raw result and its limitations.
Host / NetworkCommon problems and fixes
Two checks disagree: compare timestamps, TTLs, resolver location and client configuration before choosing one.
Tool limitation: read the raw output and confirm with a second tool or vantage point.
Used in these tools
2 toolsStandards and references
Frequently asked questions
What is 302 / 307?+
Temporary redirects. 307 preserves method and body; 302 is historically ambiguous.
How do I check 302 / 307?+
Use Redirect Checker, Redirect Chain Checker to inspect it directly. Each tool shows the raw result and its limitations.
Why does 302 / 307 matter?+
It affects how Host / Network results are read. HTTP headers, redirects, ports, ping and browser network checks.
What is a common mistake?+
Chaining redirects. Each hop adds latency and can break 302 / 307; collapse to one permanent redirect.
How this page is written
Definitions are compiled from the 244 tool pages, checked against the standards below, and reviewed by Steve. Each term links to the tools where it is used.


