News for hackers. Stuff that matters.
Re:Log level 'error' should mean that something needs to be ... by colechristensen on Saturday December 20, 2025 @04:21PM (#46339745)
That's the difference between an HTTP 4xx and 5xx

4xx is for client side errors, 5xx is for server side errors.

For your situation you'd respond with an HTTP 400 "Bad Request" and not an HTTP 500 "Internal Server Error" because the problem was with the request not with the server.

There are no comments on this comment yet.