3xx Redirection
HTTP 303 See Other
The response can be found under a different URL using a GET request.
When is 303 used?
- POST/redirect/GET pattern after form submission
- Redirecting after a successful operation
How to handle a 303 response
Follow the Location header. Most HTTP clients do this automatically, and curl -L follows redirects on the command line. Update links and sitemaps that point at permanently redirected URLs.
Check the status code a URL returns from the command line:
curl -s -o /dev/null -w "%{http_code}\n" https://example.comHow to return 303 from your server
Node.js (Express)
res.status(303).json({ message: 'See Other' });Python (Flask)
return {"message": "See Other"}, 303Go (net/http)
w.WriteHeader(303)Frequently Asked Questions
What does HTTP 303 mean?
303 See Other: The response can be found under a different URL using a GET request.
Is 303 an error?
No. 303 is in the 3xx Redirection class. Redirection: the client must take additional action, usually requesting a different URL.