this post was submitted on 02 Aug 2025
304 points (99.4% liked)

Programmer Humor

26220 readers
1478 users here now

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.

Rules

founded 2 years ago
MODERATORS
 

API for HTTP Cats

you are viewing a single comment's thread
view the rest of the comments
[–] AngryCommieKender@lemmy.world 7 points 1 month ago (3 children)

Why would 418 ever be used?

Also 425, mood.

[–] Dekkia@this.doesnotcut.it 23 points 1 month ago (1 children)

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.

[–] boonhet@sopuli.xyz 9 points 1 month ago

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.

[–] floquant@lemmy.dbzer0.com 10 points 1 month ago

As per RFC, when an internet-connected teapot is asked to brew coffee.

[–] fubarx@lemmy.world 5 points 1 month ago* (last edited 1 month ago)

418: catchall API response when all else fails. Easy to filter in logs.