HTTP 305 — Use Proxy

The requested resource is available only through a proxy, the address for which is provided in the response

When to use it

Use status 305 when this is the correct HTTP response semantic: The requested resource is available only through a proxy, the address for which is provided in the response

Request and response example

GET /old-resource HTTP/1.1
Host: api.example.com

HTTP/1.1 305 Use Proxy
Location: /new-resource

Related status codes

300, 301, 302, 303

References

MDN · RFC 9110