1 Comments
HTML status code 418, “I’m a teapot”, is definitely the odd one out in the list of status codes listed in the Wikipedia.
The status code was defined back in 1998, as an April Fools’ joke of the IETF, in RFC 2324, Hyper Text Coffee Pot Control Protocol.
The RFC specifies this code should be returned by tea pots requested to brew coffee.
Some websites, like Google, have it implemented as an easter egg.
Was this answer helpful ?
Yes
(4)
/
No
(0)
The HTTP 418 “I’m A Teapot” status code indicates that the server refuses to brew coffee because it is, permanently, a teapot. A combined coffee/tea pot that is temporarily out of coffee should instead return the HTTP 503 “Service Unavailable” status code. This error is a reference to the Hyper Text Coffee Pot Control Protocol defined in April Fools’ jokes in 1998 and 2014.