A 303 can separate an action from the page describing its result. After a form POST, the browser retrieves the indicated destination rather than posting the form data there again. This supports a clean refresh experience, but the application still needs duplicate-submission protection where appropriate. The redirect cannot establish whether the underlying write was correct.
303 See Other
The result of an action is available at another URL, normally retrieved with GET after a submission.
All HTTP status codes
What does HTTP 303 mean?
An investigation example
Illustrative booking investigation
POST /bookings returns 303 See Other
Location: /bookings/864/confirmation
Confirmation page fails to load.
Action: inspect booking 864 before resubmitting.
Verify: one booking exists and refreshing its confirmation does not create another.When this response is used
- A checkout or contact form redirects to a receipt or confirmation after successful submission.
- An API points to a separate resource that describes the outcome of a completed operation.
Diagnose the response
Follow the result URL and verify the original operation happened once before deciding to repeat it.
- Confirm the original operation completed before showing a success page. A redirect must not hide a failed write or a validation error.
- Check that the destination accepts GET and is accessible to the same caller. A confirmation page that needs a lost session can break an otherwise successful submission.
- Test refresh and back-navigation behaviour using safe test data. If the original method must be replayed at another endpoint, use the appropriate method-preserving redirect instead.
What it means for website monitoring
Separate the submission result from the confirmation-page result. An HTTP check of the destination cannot by itself verify the write that should have preceded it.