8 ms·
That's what he just said though. User breaks the server is a 500. Server prevents the user from breaking the server is a 400.
by david422 3y ago
That's what he just said though. User breaks the server is a 500. Server prevents the user from breaking the server is a 400.
- jeroenhd 3y agoBut a 500 isn't the user breaking the server, it's the server being broken before the user ever came in. Users and client software cannot (or rather, should never) be held responsible for 500 error codes, which "user breaks the server" implies.
- bawolff 3y ago400 is a client error. 500 is server error. A server error induced by a client action (e.g. triggering an unexpected exception) is still a server error.