ShareYourGroupShareYourGroupHTTP Codes and Headers

HTTP 307 Temporary Redirect

Redirection code, RFC 9110, section 15.4.8

What it means

Temporary redirect that keeps the method: a POST stays a POST at the new address, with the same body.

A real response

This is the request and the answer our test server gave when we asked it to return 307.

GET /c/307 HTTP/1.1
Host: example.com

HTTP/1.1 307 Temporary Redirect
Date: Sat, 14 Nov 2026 10:00:00 GMT
Content-Type: text/html; charset=utf-8
Location: /new-page
Content-Length: 11

<p>demo</p>

What browsers do with a POST

We sent a POST with the body hello to a test server that answered 307 and then reported what arrived at the new address. Chrome 157 sent POST. WebKit sent POST.

If you run the site

Use 307 when a temporary move must not turn a POST into a GET, for example for an API. It is the method-keeping sibling of 302.

If you are a visitor

Your browser follows it by itself.

A common mistake

Assuming that 302 keeps the method. Browsers change POST to GET for 302.

Registered in the IANA HTTP Status Code Registry as Temporary Redirect, defined in RFC 9110, section 15.4.8.

This is an independent guide. It is not connected with the IETF, IANA, any browser maker or any company named here. Meanings were checked against the RFC texts on 14 November 2026. Responses shown were recorded on 14 November 2026 from a small test server on the author's own computer.