4 ms·
Another gem from back when the internet was fun: HTTP Status 418: I'm a teapot - https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/418 https://developer
by reaperducer 7y ago
Another gem from back when the internet was fun:
HTTP Status 418: I'm a teapot - https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/418 https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/418
Wasn't there also a protocol for checking vending machines for cold drinks?
- Papirola 7y agofinger
- FactolSarin 7y agoConsidering we actually have internet connected teapots now, I wonder if any mass market products have implemented this.
- trp1 7y agoNope, they recently removed that status code.
- furyofantares 7y agoFrom the spec. Teapots or any other devices are free to send it anyway
- grkvlt 7y agoOnly from clients supporting HTTP only. Note that RFC 2324 [0] defines the Hyper Text Coffee Pot Control Protocol or HTCPCP, which is an extension of HTTP and implementors of clients for this are free to return 418 if necessary. Also, RFC 7168 [1] which extends the protocol as HTCPCP-TEA now fully supports teapots, and is probably a better choice for modern clients. Also of interest is the SNMP MIB for remote management of 'Drip-Type Heated Beverage Hardware' which is defined in RFC 2325 [2] although this does not appear to have been updated with teapot, samovar, urn or other non-filter-coffee management data... Implementing tea making device remote management would probably be a good candidate for a GSoC project or even a startup if you can find a VC gullible enough to fund you! 0. https://tools.ietf.org/rfc/rfc2324.txt https://tools.ietf.org/rfc/rfc2324.txt 1. https://tools.ietf.org/rfc/rfc7168.txt https://tools.ietf.org/rfc/rfc7168.txt 2. https://tools.ietf.org/rfc/rfc2325.txt https://tools.ietf.org/rfc/rfc2325.txt
- ragebol 7y agoIIRC Ultimaker 3D printers do implement this
- mrguyorama 7y agoIt's always been my dream to build one. Now that we have things like Raspberry Pi zero W, I want to hack up my Kuerig and make that internet connected
- nostrademons 7y agoWhich is actually used in a few places. Google always return it from https://www.google.com/teapot https://www.google.com/teapot, and Binance uses that status code if you've been IP-banned for exceeding rate limits.
- freedomben 7y agoI've worked on several big SaaS platforms, and all of them have at least one easter egg in there that returns teapot ;-)
- sam_bristow 7y agoYou're probably thinking of 'The "Only" Coke Machine on the Internet' https://www.cs.cmu.edu/~coke/history_long.txt https://www.cs.cmu.edu/~coke/history_long.txt
- ngcc_hk 7y agoI forward this discussion to my sons saying that there is a story about coke machine. Here you go. Thanks.
- avianauthor 7y agoI was at CMU '83 to '87. It saved us time to check if there was the proper kind of coke in the machine and if it was cold before we walked down to the room with the machine. It was cheaper than the University's vending machines. And it was in classy glass bottles. Trivia: It was (I was told) using experimental 3Mbps Ethernet, the predecessor to the 10Mbps Ethernet that has grown to 10Gpbs+ now.
- ngcc_hk 7y agoYes. Still remember the day 30+years ago using my 2400 baud to connect to internet and discovered FYI articles and the zen of internet. Much better than reading ICL and IBM manual (red book ok but no fun) I supposed and debug 370 assembler Abend code etc.
- kbumsik 7y agoMandatory reading: https://news.ycombinator.com/item?id=17175960 https://news.ycombinator.com/item?id=17175960 npm implemented it in their server last year!
- spondyl 7y agoOur team got hit by that issue. I slapped by head when I saw the error code, having come across it before. How am I meant to debug something that's literally a joke and isn't meant to be used in production :(