305 Use Proxy
The 305 HTTP response status code is returned by an origin server to indicate that the requested resource can only be accessed through a proxy.
The HTTP response status code 305 Use Proxy is an outdated code that was used to tell clients that they should access the requested resource through a specific proxy server.
However, this status code is no longer in use and has been deprecated. Clients do not need to worry about handling this status code as it is no longer relevant in modern web communication.
The 305 Use Proxy status code was previously used to tell the client that it should access the requested resource through a specific proxy server.
However, this status code has been deprecated because of security concerns, and most modern HTTP clients do not act on it anymore. Instead, clients automatically handle proxy configurations without relying on this status code.
In the example, when the client requests a particular resource, the server responds with a 305 Use Proxy status code. This code used to indicate that the client should access the resource through a designated proxy server, but it is no longer commonly used due to security concerns, and most modern clients handle proxy configurations automatically.
Request
GET /document.pdf HTTP/1.1
Host: www.example.com
Response
HTTP/1.1 305 Use Proxy
Location: https://proxy.example.com:8080
The 305 Use Proxy status code was historically used to instruct clients to access a resource through a designated proxy server. However, it is now considered deprecated due to security concerns, and modern clients handle proxy configurations automatically, making this status code rarely encountered in practice.