History
From the Trojan Room coffee pot to 418
HTCPCP is a joke about a real coffee pot. This is the story of that pot, the RFC it inspired, and the status code that refused to die.
The Trojan Room coffee pot
In 1991, the coffee pot for the University of Cambridge Computer Laboratory stood in a corridor outside the Trojan Room. People working further away often walked over to find it empty. Quentin Stafford-Fraser and Paul Jardetzky pointed a camera at it, connected it to a frame grabber, and wrote a small program, XCoffee, that showed the picture on everyone's screen. Now you could see if there was coffee before you got up.
In November 1993, Daniel Gordon and Martyn Johnson put the picture on the web. It became one of the first webcams anywhere, and for years one of the most visited.
The camera was switched off on 22 August 2001. The pot was sold on eBay, to Spiegel Online, for £3,350.
RFC 2324
On 1 April 1998, Larry Masinter published RFC 2324, the Hyper Text Coffee Pot Control Protocol. It cites the networked coffee pots of the day as the reason the world needed a protocol, and then provides one: the BREW and WHEN methods, the Accept-Additions header, a coffee URI scheme in many languages, and, in a single line in section 2.3.2, the status code 418 I'm a teapot, for a teapot asked to brew coffee.
It was not the first joke RFC. The April Fools' tradition goes back to RFC 748 in 1978, and RFC 1149, IP over Avian Carriers, came in 1990. But no other joke RFC has left as much behind in real software.
RFC 7168
On 1 April 2014, Imran Nazar published RFC 7168, HTCPCP-TEA, which formally updates RFC 2324. It finally gives teapots something to do besides refuse: tea varieties as URIs, the message/teapot media type, sugar, and the rule that a pot which is only temporarily out of coffee should say 503, not 418.
Save 418
In August 2017, Mark Nottingham, chair of the IETF HTTP working group, asked Node.js, Go and other projects to remove 418 from their HTTP libraries, arguing that a joke code shouldn't occupy a number in a real registry. Developers protested, a Save 418 Movement started, and the projects kept the code.
Reserved for good
In June 2022, RFC 9110, the standard that now defines HTTP semantics, settled it. Section 15.5.19 lists 418 as unused and reserved, because it has been deployed as a joke too widely to give the number to anything else. The teapot keeps its number, permanently.
Timeline
- 1 April 1978RFC 748, the first April Fools' RFC.
- 1991A camera is pointed at the coffee pot outside the Trojan Room in Cambridge.
- November 1993The coffee pot goes on the web.
- 1 April 1998RFC 2324, HTCPCP/1.0, and 418 I'm a teapot.
- 22 August 2001The Trojan Room camera is switched off; the pot is sold on eBay.
- 1 April 2014RFC 7168, HTCPCP-TEA.
- August 2017A request to remove 418 from Node.js and Go, and the Save 418 Movement.
- June 2022RFC 9110 reserves 418.
The Computer Laboratory keeps its own timeline of the coffee pot.
Last updated 2026-10-25.