appzasGamesToolsDevLearnReferenceNetworkTimeCalculatorsCompareLLM prices

307 Temporary Redirect

Source: IANA registryOfficial registry

Temporary redirect that keeps the original method and body.

ClassRedirection (3xx)
Defined inRFC9110, Section 15.4.8
Cacheable by defaultNo, unless explicit freshness headers allow it

Common causes

  • A temporary redirect where the HTTP method and body must stay the same.
  • HSTS or a proxy redirecting an unsafe request.

What to do

Use it instead of 302 when a POST must remain a POST after the redirect.

Related codes

  • 302 Found: The resource is temporarily at a different URL, given in the Location header.
  • 303 See Other: Look at another URL with a GET request to see the result, typically after a POST.
  • 308 Permanent Redirect: Permanent redirect that keeps the original method and body.

See all HTTP status codes.