The HTTP 305 status code stands for "Use Proxy". It is a redirection response indicating that the requested resource must be accessed through a proxy server specified in the response.

Why is HTTP 305 Deprecated?

  • It was removed from modern browsers due to security risks (e.g., potential misuse to force users through malicious proxies).
  • Most browsers ignore this status code, and it is rarely used today.

Example Scenario (Deprecated Usage)

A server might instruct a client to access a resource via a proxy.

Client Request (Requesting a Resource)

  
    GET /resource HTTP/1.1
    Host: example.com
  

Server Response (Use Proxy Instead)

  
    HTTP/1.1 305 Use Proxy
    Location: http://proxy.example.com:8080
  

Summary

HTTP 305 was used to indicate that a resource must be accessed via a proxy, but it is now deprecated and not supported by modern browsers due to security concerns.