4 ms·
I hadn’t heard of code 418 before - seems like it started as a joke but is now “real” because people use it!
by thenoblesunfish 5y ago
I hadn’t heard of code 418 before - seems like it started as a joke but is now “real” because people use it!
- ddek 5y agoI had a really painful experience with NPM where it was responding 418 and almost no extra info. I had not asked it for a NuGet package.
- wongarsu 5y agoIt has a proper RFC and everything [1]. All the April Fools RFCs are worth a read imho [2]. RFC2100 (The Naming of Hosts) and RFC8135 (Complex Addressing in IPv6) are real gems. 1: https://datatracker.ietf.org/doc/html/rfc2324 https://datatracker.ietf.org/doc/html/rfc2324 2: https://en.wikipedia.org/wiki/April_Fools%27_Day_Request_for_Comments https://en.wikipedia.org/wiki/April_Fools%27_Day_Request_for...
- palsecam 5y agoRelated thread: https://news.ycombinator.com/item?id=24206899 https://news.ycombinator.com/item?id=24206899 I myself use 418 as a reply to mean bots. Fun + makes filtering logs easier. Nginx config snippet: # Nothing to hack around here, I’m just a teapot: location ~* \.(?:php|aspx?|jsp|dll|sql|bak)$ { return 418; } error_page 418 /418.html; Example: https://FreeSolitaire.win/wp-login.php https://FreeSolitaire.win/wp-login.php