3 ms·
But 4xx codes are client errors. 418 - I'm a teapot is specified as an error ("I can't brew you a coffee, silly: I'm a teapot")[0]. [0] https://developer.mozil
by anonymous_sorry 3y ago
But 4xx codes are client errors. 418 - I'm a teapot is specified as an error ("I can't brew you a coffee, silly: I'm a teapot")[0].
[0] https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/418 https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/418
- YoshiRulz 3y agoThe client is mistaken in requesting coffee.
- d0mine 3y agoThe error seems appropriate: the client expects erroneously something from the server that it can't provide (otherwise there would be something other than the default page to return)
- anonymous_sorry 3y agoI mean sure, but it feels like a stretch (albeit a whimsical one) to say its more appropriate than 404 Not Found, which could also be described as "client expects erroneously something from the server that it can't provide".
- panzi 3y agoMaybe 405 or 406 then? I mean, sure it's not right either, but better than 418? (I'd say go with 404.)