What does HTTP status 308 (Permanent Redirect) mean?

 
Could be also:
ConstantTypeOS
ERROR_IMAGE_SUBSYSTEM_NOT_PRESENTWin32 errorWindows
DRIVE_EXTENDERBugCheck CodeWindows
Previous Next
HTTP_STATUS_TEMPORARY_REDIRECT HTTP_STATUS_BAD_REQUEST

HTTP_STATUS_PERMANENT_REDIRECT

The target URI appears in Location. Unlike 301 and 302, 308 explicitly tells clients not to change a POST, PUT, or other request method when following the redirect.

This makes 308 appropriate when an API endpoint moved but the original operation must remain semantically identical. Verify redirect loops and cache behavior when deploying it.

RFC 7538: Permanent Redirect

Operational meaning of HTTP 308 for HTTP_STATUS_PERMANENT_REDIRECT

HTTP 308 (this result) is a redirection response. AllStat records its meaning as “308 Permanent Redirect”. Interpret it with the request method, selected representation, response headers, and the specification or product that defines the code; the number alone does not prove that application work completed.

Client and server handling

  • Apply the method-rewrite and caching rules defined for it, not a generic redirect rule.
  • validate the Location target and prevent redirect loops across proxies or canonicalization layers.
  • log the original URL, target URL, method, and cache decision.

For telemetry, record HTTP 308, method, authority, route template rather than secrets, response headers relevant to caching or retry, latency, upstream identity, and whether the response originated at the application or an intermediary.


Looking for a different code? Search another status or error code.