Navigation
What does HTTP Status Code 303-SEE OTHER mean?
HTTP Status Code 303-See Other is one of the classes of 3xx(redirection) response code that indicates the redirects don’t go to the freshly uploaded content, but to another page. Another page may be a confirmation page or an upload progress page.
Status Code 303 response code is often returned in response to a PUT or POST request. The GET technique is always used to show this redirected page.
The user agent is being redirected to a different resource, as indicated by a URI in the Location header field, which is meant to give an indirect answer to the original request.
Any HTTP method can return this status code. It’s mostly used to allow the result of a POST action to redirect the user agent to a specific site, because it gives the information matching to the POST response in a format that can be recognized, bookmarked, and cached separately from the original request.
Example
Client request
POST / HTTP/1.1 Host: www.example.com |
Server Response
HTTP/1.1 303 See Other Location: http://example.org/other |
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
303 See Other |
Specifications
Browser compatibility
303 CODE REFERENCES
Rails HTTP Status Symbol | :see_other |
Go HTTP Status Constant | http.StatusSeeOther |
Symfony HTTP Status Constant | Response::HTTP_SEE_OTHER |
Python2 HTTP Status Constant | httplib.SEE_OTHER |
Python3+ HTTP Status Constant | http.client.SEE_OTHER |
Python3.5+ HTTP Status Constant | http.HTTPStatus.SEE_OTHER |
Read more 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 303 mean?
303-See Other status code is one of the classes of 3xx(redirection) response code that indicates the redirects don’t go to the freshly uploaded content, but to another page. Another page may be a confirmation page or an upload progress page.
When should I use HTTP 303?
When you get POST data from a client such as submission of form and wish to redirect them to a new web page that is retrieved using GET instead of POST, you should use a 303 redirect.
Conclusion
I hope this article was able to help you with your doubts and queries related to the HTTP status code 303(See Other). 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.
Saurabh Chalise