BloggingBIG Logo
Search
  • Blogs
  • How we work
  • Write Guest Post
Get started

HTTP Status Code 305-USE PROXY

by Saurabh Chalise

  • 3 min read
    • HTTP Status
Share this content
HTTP Status Code 305-USE PROXY image

Navigation

  • What does HTTP Status Code 305-Use Proxy mean?
    • Example
  • Location Header Field
    •  Syntax
    •  Example 
  • Status
  • References
  • Related Articles
  • FAQ
    • What does HTTP Status Code 305 mean?
    • How should we use HTTP 305?
  • Conclusion

What does HTTP Status Code 305-Use Proxy mean?

HTTP Status Code 305 is one of the classes of 3xx(redirection) response code that indicates that the client’s requested resource is only available through a proxy, and that the server’s response includes the proxy’s address.

The proxy specified in the Location column MUST be used to access the requested resource. The URI of the proxy is given in the Location column. The receiver is expected to use the proxy to repeat this single request. Only origin servers are allowed to send 305 replies.

Similarly, It is a deprecated status response code that is used by the server to tell the client so that the client gets connected to a proxy and then makes the identical request there. 

305 behaves in a similar way as a redirect. It effectively notifies a client that this resource can only be fetched if the appropriate proxy is utilized. A client may connect to this proxy and try the exact same request again through the proxy to obtain the genuine answer.

Example

The following answer would instruct a client to retry the identical request through proxy at 

proxy.example.org.
HTTP/1.1 305 Use ProxyLocation: https://proxy.example.org:8080

Location Header Field

In some responses, the Location header field is used to refer to a particular resource in connection to the response.  The type of relationship is defined by the combination method of the request and status code semantics.

Location = URI-reference

 It only provides a meaning when used with a 3xx (redirection) or 201 (created) status response.

 Syntax

Location:<url>

 Example 

Location:/index.html

Status

305 Use Proxy

References

RFC7231, Section 6.4.5305 Use Proxy.
RFC2617, Section 10.3.6The deprecated specification.

Related Articles

Status Code 101-Switching Protocols
HTTP Status Code 302 Found
HTTP Status Code 204 – No Content
HTTP Status Code 207 Multi-Status

FAQ

What does HTTP Status Code 305 mean?

305-Use Proxy status code is one of the classes of 3xx(redirection) response code that indicates that the client’s requested resource is only available through a proxy, and that the server’s response includes the proxy’s address.

How should we use HTTP 305?

The proxy specified in the Location column MUST be used to access the requested resource. The URI of the proxy is given in the Location column. The receiver is expected to use the proxy to repeat this single request. Only origin servers are allowed to send 305 replies.

Credit: Web Dev Simplified

Conclusion

I hope this article was able to help you with your doubts and queries related to the HTTP status code 305(Use Proxy). Still, if there are any queries related to this topic, feel free to ask in the comment section, we would be happy to assist you. Thank you.

Share
Tweet
Share
0 Shares
Saurabh Chalise image

Saurabh Chalise

Be first to comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

More from HTTP Status

HTTP Status Code 499 Client Closed Request image

HTTP Status Code 499 Client Closed Request

Kedar Dangal image

by Kedar Dangal

  • 4 min read
    • HTTP Status
HTTP Status Code 431 Request Header Fields Too Large image

HTTP Status Code 431 Request Header Fields Too Large

Kedar Dangal image

by Kedar Dangal

  • 4 min read
    • HTTP Status
HTTP Status Code 429-Too Many Request image

HTTP Status Code 429-Too Many Request

Saurabh Chalise image

by Saurabh Chalise

  • 4 min read
    • HTTP Status

Quick links

  • Siteground black friday deals
  • Wp engine black friday deals
  • Greengeeks black friday deals
  • Tmd hosting black friday deals
  • Fastcomet black friday deals
  • Hostwinds black friday deals
  • bluehost black friday
  • Namecheap black friday deals
  • Ionos 1 & 1 black friday deals
  • Hostgator black friday deals
  • ipage black friday deals
  • wpx hosting black friday deals
BloggingBIG logo
  • About
  • DISCLAIMER
  • Disclouser for Blogging BIG
  • Terms and Conditions
  • Privacy Policy
  • Sitemap
Developed by Fnclick
Back To Top