306

Unused

3xx Redirection

Back to list

Server perspective

Do not emit 306; it is reserved and has no defined modern behavior.

When to use

  • Keep 306 only as reference material in documentation
  • Choose a real standard status code instead of inventing meaning for 306

How to respond

  • Audit any code path that returns 306 because it likely indicates a bug, placeholder, or undocumented custom behavior
  • Map the response to a defined HTTP status that matches the actual semantics

Headers to consider

  • No status-specific header is defined because 306 has no active modern semantics.

Response body

  • There is no defined response body contract for 306 because there is no active status semantics to implement

Server-side pitfalls

  • Do not use 306 as an internal shortcut hoping clients will understand it
  • Do not confuse 'reserved' with 'safe to repurpose'

Examples

Unexpected reserved code in an API

Request:Service returns 306 from an error path
Response:Replace it with a defined 3xx, 4xx, or 5xx status that matches the real outcome

A reserved code hides intent and breaks interoperability.

References

Related 3xx Redirection Codes