Zest.
3xx · Redirection

HTTP 308 Permanent Redirect

Like 301, but the method and body must not change.

Example response

HTTP
HTTP/1.1 308 Permanent Redirect
Location: https://example.com/new-location
Content-Type: application/json; charset=utf-8

{ "ok": true }

Look up the headers shown here in the HTTP headers reference.

Common questions

What does HTTP 308 mean?
Permanent Redirect. Like 301, but the method and body must not change.
Is 308 an error?
No. 3xx codes are redirection responses: Further action is needed to complete the request, usually following a Location header.

Other 3xx codes