2 ms·
> The correct response code would be a 3XX or 4XX response code, depending on the client behavior that you want. If the client behavior you want is to display
by toast0 3y ago
> The correct response code would be a 3XX or 4XX response code, depending on the client behavior that you want.
If the client behavior you want is to display your styled error page, that has historically meant returning a 200 status code, because some user-agents prefer their own error displays.