298
HTTP Cats
(http.cat)
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Why would 418 ever be used?
Also 425, mood.
As per RFC, when an internet-connected teapot is asked to brew coffee.
418 comes from an April fools' joke published as RFC7168.
I've used it for debugging before because it stands out and is generally suported.
I once returned it in a home assignment in case true == false and added a comment that it's cosmic radiation induced bit flip detection.
I got the job.
418: catchall API response when all else fails. Easy to filter in logs.