3 ms·
Servers barely care what HTTP status code their users are served with. 500 / 503 seems to fit any and every error these days, or the classic 200 OK for a page
by 22c 3y ago
Servers barely care what HTTP status code their users are served with.
500 / 503 seems to fit any and every error these days, or the classic 200 OK for a page not found.
- mrweasel 3y agoOr you can take the route that a former client took: Return 200 OK http status code and just print "500" in the response body. Took me a few minutes to figure out why the monitoring kept insisting that everything was OK when my browser kept showing me "500".