3 ms·
It was added as a joke, and kept because (according to https://save418.com https://save418.com) > “It's a reminder that the underlying processes of computers a
by KMnO4 3y ago
It was added as a joke, and kept because (according to https://save418.com https://save418.com)
> “It's a reminder that the underlying processes of computers are still made by humans”
- AmericanChopper 3y agoStupid reason imo. Adding childish humor to a protocol seems like harmless fun until you remember how much of a mess network protocols, and their specs, and their implementation is. Maybe you think a 418 error page is funny, but I think you’ll appreciate it a lot less when your application gets a rather confounding error because some service provider wanted to remind you that the underlying processes of computers are still made by humans, rather than implement the actually correct response.
- Dalewyn 3y ago/me slaps AmericanChopper around a bit with a large trout https://en.wiktionary.org/wiki/trout_slap https://en.wiktionary.org/wiki/trout_slap
- throwaway173738 3y agoThat’s trout abuse.
- kQq9oHeAz6wLLS 3y ago... Nope, it's still funny, we're keeping it.
- pwdisswordfishc 3y agoNope, it’s still unfunny, it should have been deleted then and there. In fact, it has.
- AmericanChopper 3y agoI promise that knowing it’s supposed to be a joke is _not_ going to make you less frustrated if you ever end up having to debug a non-descriptive 418 error. To make it worse the description and the error code aren’t even consistent. 4xx is a client error, but your web server being a teapot is definitely a server side problem.
- crote 3y agoNo, it should be a client error. The error is intended to be returned when a client has asked a teapot to perform a coffeepot-only operation - which is obviously a mistake on the client side. This makes it similar to 405 Method Not Allowed, 406 Not Acceptable, or 426 Upgrade Required.
- AmericanChopper 3y agoSure, but I’ve actually had to debug a few 418 errors on production workloads, and none of them involved teapot services. Knowing that the implementers of the error thought it was a hilarious joke certainly didn’t make the experience more fun.
- hypertele-Xii 3y agoNo, 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).
- AmericanChopper 3y agoWhat is the correct way to handle a 418? As if it were a 500? A 400? A 403? A 404? A 429?…
- hypertele-Xii 3y ago418 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).
- KomoD 3y agoMust be fun at parties