303Status code
3xxRedirection
NoCacheable by default
RFC 9110 §15.4.4Defined in
Common causes
- Post/Redirect/Get pattern after a form submit
What to do
Use it after POST so that reloading the result page does not resubmit the form.
Example response
HTTP/1.1 303 See Other Location: https://example.com/new-path Content-Length: 0
How to send a 303
nginx return 303 https://example.com/new-path;
Apache Redirect 303 /old https://example.com/new-path
Express res.redirect(303, '/new-path');
PHP header('Location: /new-path', true, 303);