Live data from Hacker News

HTTP Status 418 – I'm a teapot

developer.mozilla.org

1–10 of 114 posts

Re: HTTP Status 418 – I'm a teapot

#3
Some previous discussions on this status specifically: https://hn.algolia.com/?q=418

Some fun ones:

- Discussion on the status itself: https://news.ycombinator.com/item?id=24206899

- NPM proxy users receiving ERR 418 I'm a teapot: https://news.ycombinator.com/item?id=17175960

- Reserve the 418 status code: https://news.ycombinator.com/item?id=15004907

Re: HTTP Status 418 – I'm a teapot

#4
For those who may not know, this comes from RFC 2324: ""Hyper Text Coffee Pot Control Protocol (HTCPCP/1.0), The RFC was published 1 April 1998 (April Fool's Day). There's a long history of humorous RFCs published on 1 April. For example, RFC 1149 "IP over Avian Carriers" https://en.wikipedia.org/wiki/IP_over_Avian_Carriers

List of Additional April Fool's RFCs https://en.wikipedia.org/wiki/April_Fools%27_Day_Request_for...

Re: HTTP Status 418 – I'm a teapot

#7
I return 418 in some cases where somehow someone ended up somewhere in the code that I otherwise thought impossible. It works pretty well as far as letting folks know that something particularly unusual has happened / this isn't your ordinary error.

Re: HTTP Status 418 – I'm a teapot

#9
post #7

I return 418 in some cases where somehow someone ended up somewhere in the code that I otherwise thought impossible. It works pretty well as far as letting folks know that something particularly unusual has happened / this isn't your ordinary error.

A less humorous unusual status code is 451. Unfortunately, it probably should be used more.

https://en.wikipedia.org/wiki/HTTP_451

Re: HTTP Status 418 – I'm a teapot

#10
It's quaint, it's a joke about IoT devices before they were everywhere. I'm currently disappointed that the office has "upgraded" coffee machines and the new one has a permanent internet connection and shows ads/branding (for coffee) when it is idle.
Post reply on HN