305 Use Proxy
The HTTP 305 Use Proxy status code is a deprecated response indicating the requested resource is accessible only through a proxy specified in the Location header.
Table of Contents
Usage
The 305 Use Proxy status code instructs the client to obtain the requested resource through a proxy. The proxy address is specified in the Location header.
Example
The client requests a specific resource, and the server responds with 305 Use Proxy to indicate where the client sends an identical request.
Request
GET /document.pdf HTTP/1.1
Host: www.example.re
Response
HTTP/1.1 305 Use Proxy
Location: https://proxy.example.re:8080
Code references
.NET
HttpStatusCode.UseProxy
Rust
http::StatusCode::USE_PROXY
Rails
:use_proxy
Go
http.StatusUseProxy
Symfony
Response::HTTP_USE_PROXY
Python3.5+
http.HTTPStatus.USE_PROXY
Java
java.net.HttpURLConnection.HTTP_USE_PROXY
Apache HttpComponents Core
org.apache.hc.core5.http.HttpStatus.SC_USE_PROXY
Angular
@angular/common/http/HttpStatusCode.UseProxy
See also
Last updated: April 24, 2026