306 Switch Proxy

306 Switch Proxy

The 306 HTTP status code is a reserved and currently unused code in the HTTP/1.1 specification.

You can Check Your URLs HTTP Code for FREE

The HTTP status code 306 Switch Proxy is a reserved and currently unused code in the HTTP/1.1 specification. It was intended to redirect a client to use a different proxy server, and the new proxy location would be valid for a specified period.

However, this status code is not implemented or widely supported by web servers or clients, so it is not used in practice.

The 306 Switch Proxy status code is reserved for future use but is currently not implemented in practice. It was intended to be sent by a server in response to a client's request for a resource through a proxy, indicating that the proxy location has changed.

The Set-Proxy HTTP header would have been used to specify the new location of the alternate proxy and the duration for which the address would be valid.

However, as of now, this status code is not used in the HTTP protocol.

In the example, when the client tries to access a resource through a proxy, the server responds with a 306 Switch Proxy status code, indicating that the resource is temporarily available at a different location for 120 seconds.

However, it's important to note that the 306 status code is currently not used in practice and is reserved for future use.

Request

GET /document.pdf HTTP/1.1
Host: proxy.example.com

Response

HTTP/1.1 306 Switch Proxy
Set-Proxy: SET; proxyURI=””https://proxy-2.example.com:8080/” scope=”http://”, seconds=120

The 306 Switch Proxy status code is not used in current web practices and is reserved for potential future use.

It was intended to instruct the client to switch to an alternate proxy location for a specified period, but it has not been implemented or standardized across web servers and browsers.

As of now, users and developers do not need to worry about encountering this status code in their HTTP interactions.

Related articles

999 Request Denied

999 Request Denied The 999 HTTP response status code is...

599 Network Connect Timeout Error

599 Network Connect Timeout Error The 599 HTTP response status...

598 Network read timeout error

598 Network read timeout error The 598 HTTP response status...

561 Unauthorized

561 Unauthorized The 561 HTTP response status code means there...

530 Site Frozen

530 Site Frozen The 530 HTTP response status code is...

999 Request Denied

561 Unauthorized

530 Site Frozen