ProAnswers.org

HTTP Status code 418: "I am a teapot"?

There seems to be an HTTP Status code 418: “I am a teapot”. What does it do? Is it supported by all the browsers?

This is a status code for a protocol that was introduced as an April Fools' joke in 1998.




	[RFC 2324 - Hyper Text Coffee Pot Control Protocol](http://tools.ietf.org/html/rfc2324)

	[Wikipedia - List of HTTP status codes](http://en.wikipedia.org/wiki/List_of_HTTP_status_codes)


On almost every April Fools' Day since 1989, the [Internet Engineering Task Force](http://en.wikipedia.org/wiki/Internet_Engineering_Task_Force) has published one or more humorous RFC documents. You can find the whole list of these funny RFC documents on:




	[Wikipedia - April Fools' Day RFC](http://en.wikipedia.org/wiki/April_Fools%27_Day_RFC)


If you think that you can contribute to an April Fools' RFC document, the IETF is encouraging you to do so:




	[RFC FAQ - How can I submit an April 1st RFC?](http://www.rfc-editor.org/rfcfaq.html#april)


It kindly asks that entries are sent at least 2 weeks prior to April 1st so that the RFC Editor team would have enough time to review all the documents and to prepare those that will be published.




As for the coffee pot protocol, it is officially called the "Hyper Text Coffee Pot Control Protocol". Although the RFC describing it is not to be taken seriously, the protocol is specified accurately enough for it to be considered a non-fictional protocol. It is an extension of HTTP, which comes some additional verbs like BREW and WHEN, and with two error messages, one of which is 418: I am a teapot (...not a coffee pot!).



If this inspired you to start working on a physical implementation, you may want to start by understanding the basics from this Wikipedia article:




	[Wikipedia - Hyper Text Coffee Pot Control Protocol](http://en.wikipedia.org/wiki/Hyper_Text_Coffee_Pot_Control_Protocol)