Hacker News new | ask | show | jobs
by flqn 2323 days ago
In those cases, a malformed request is common enough that discriminating between well-formed and malformed should be thought of like a first-class part of handling a request, not an error-handling situation. Errors are when things go wrong that you don't expect to usually go wrong*

*for varying values of usually, YMMV, use your own judgement, etc