306 Unused

Code 306 is reserved and has no current response semantics that a public application should rely on.

All HTTP status codes

What does HTTP 306 mean?

A numeric status can reach a client even when the application assigned it no standard meaning. That does not make the behaviour interoperable. For 306, avoid guessing a redirect target or treating the reserved code as a success. Locate the custom response, middleware rule or proxy configuration responsible and document the intended outcome before correcting it.

An investigation example

Illustrative custom-middleware investigation
Response: 306
Application branch intended to redirect after login.
A hand-written status constant contains a typo.
Action: use the appropriate supported redirect status.
Verify: the browser follows the intended destination and the method handling is correct.

When this response is used

  • An old gateway or application retained a status mapping that is no longer defined.
  • Custom error-handling code emits an arbitrary 3xx number rather than a supported redirect.

Diagnose the response

Capture the emitting layer and replace the accidental status with one that accurately describes the operation's outcome.

  • Capture the response body and headers to locate the component producing it. Check whether a proxy generated the response before the request reached the application.
  • Inspect the relevant redirect or error handler and identify the intended outcome. Choose a defined status such as 302 or 307 only after confirming that the resource really moved temporarily.
  • Check clients after correcting the response. They should receive a usable destination or an accurate failure status, rather than being told to guess what 306 means.

What it means for website monitoring

Reserved codes warrant investigation rather than a new success exception. Check the intended behaviour and confirm public responses use a supported status after the fix.

Reference