Re:I’ve banned query strings
by Ekaros on Sunday May 10, 2026 @06:32AM
(#48082672)
No 400 is correct for bad request. As unknown query parameters is clear client error.
[ Parent
| on HN ]
All 4xx errors are client errors.
400 is the general “bad request” client area, indicating something is wrong with the request but not being specific about what.
404 is simply a more specific client error: it means the client asked for a resource that couldn’t be found.