This is the process:
- User goes to
my/website/view/1/ - That page contains an error
- User gets redirected to
my/website/oops/ - User sees an 'Oops, something went wrong' page
There are 2 requests here, the first being the erroneous one, the second being a correctly rendered, perfectly valid, errorless page telling the user something went wrong.
I feel as if I should send a 500 (or 503) for request 1, and a 200 for request 2.
Is that correct?
Aucun commentaire:
Enregistrer un commentaire