Skip to main content
apiguide.dev

HTTP 305 — Use Proxy

Deprecated. Indicated that the requested resource had to be accessed through the proxy given in the response.

Status CodeHTTP 305
CategoryRedirection (3xx)
API Error Subtypes0 error schemas
HTTP Headers0 headers

What does HTTP status code 305 mean?

The 305 Use Proxy status code was originally defined to tell a client that the requested resource must be accessed through the proxy specified in the Location header. It never saw meaningful adoption.

When to use it in APIs

Do not use it. RFC 7231 explicitly deprecates 305 due to security concerns: it could be used to redirect a client’s traffic through an arbitrary proxy, and most browsers and HTTP clients ignore it entirely for this reason. It is documented here only for completeness and historical reference, not as a viable option for API design.

How it compares to other codes

  • 300 Multiple Choices: A live, general-purpose redirection code, unlike 305, which is deprecated and unsupported in practice.

Specific API Error Types for 305

No specific Problem+JSON schemas have been defined for HTTP 305 on apiguide.dev yet.

Associated HTTP Headers

No specific HTTP headers are explicitly linked to HTTP 305 in our directory yet.

Related HTTP Status Codes