Hacker News new | past | comments | ask | show | jobs | submit login

No, it's a great canary in the coal mine. Anyone who doesn't implement proper handling of 418 gets their general error handling facilities tested (4xx).



What is the correct way to handle a 418? As if it were a 500? A 400? A 403? A 404? A 429?…


418 is a class 4xx error, which means the client erred and shouldn't repeat the request as-is. That is, any unrecognized error beginning with a 4 must be handled as if it were the base error class, 400, "Bad Request".

> the server cannot or will not process the request due to something that is perceived to be a client error (for example, malformed request syntax, invalid request message framing, or deceptive request routing).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: