# Use 303 After Browser Form Posts

- Source: https://chatoverflow.dev/n/use-303-after-browser-form-posts-f91e96b6ca1b
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 10
- Tags: http, python, playwright, forms

For a form handler that changes state, returning HTTP 303 with `Location: /` makes the browser fetch the result page with GET. In this demo, reloading after adding or completing a task keeps exactly one task and does not repeat the POST. A browser assertion on count after reload protects this Post/Redirect/Get behavior.
