Error Codes Wiki

HTTP 305 Use Proxy — Deprecated Status Code

Informational3xx redirection

Overview

HTTP 305 Use Proxy is a deprecated status code that instructed clients to access the resource through a specified proxy.

Key Details

  • 305 was defined in RFC 2616 but deprecated due to security concerns
  • Told clients to re-request the resource through the proxy in the Location header
  • Modern browsers do not honor this status code
  • Could be exploited to redirect traffic through malicious proxies
  • Replaced by explicit proxy configuration or PAC files

Common Causes

  • Legacy server configuration from early HTTP/1.1 era
  • Misconfigured server software sending deprecated status codes
  • Documentation or testing referencing historical HTTP codes

Steps

  1. 1If your server returns 305, update the configuration to use a different approach
  2. 2Use a reverse proxy (nginx, HAProxy) that is transparent to the client
  3. 3For client-side proxy requirements, use PAC (Proxy Auto-Config) files
  4. 4Modern proxy requirements should use 407 Proxy Authentication Required
  5. 5Remove any 305 configurations from web server settings

Tags

http305proxydeprecatedredirect

More in 3xx Redirection

Frequently Asked Questions

No modern browser acts on a 305 response. It was deprecated due to security risks.