HTTP 303
From Wikipedia, the free encyclopedia
HTTP |
Persistence · Compression · HTTPS |
Request methods |
OPTIONS · GET · HEAD · POST · PUT · DELETE · TRACE · CONNECT |
Header fields |
Cookie · ETag · Location · Referer |
X-Forwarded-For |
Status codes |
301 Moved permanently |
302 Found |
303 See Other |
403 Forbidden |
404 Not Found |
The HTTP response status code 303 See Other is the correct manner in which to redirect web applications to a new URI, particularly after an HTTP POST has been performed.
This response indicates that the correct response can be found under a different URI and should be retrieved using a GET method. The specified URI is not a substitute reference for the original resource.
This status code should be used with the location header.
303 See Other is one way of responding to a request for a URI that identifies a real-world object according to Semantic Web practice (the other being the use of hash URIs)[1].
[edit] Example
Client request:
GET / HTTP/1.1 Host: www.example.com
Server response:
HTTP/1.1 303 See Other Location: http://example.org/
[edit] See also
- RFC 2616 (HTTP 1.1)
- RFC 1945 (HTTP 1.0)
- Hypertext Transfer Protocol
- List of HTTP status codes
- Post/Redirect/Get
[edit] References
- ^ Cool URIs for the Semantic Web, see section 4
This World Wide Web-related article is a stub. You can help Wikipedia by expanding it. |