Storm Over For Teapot Error Code
Written by Janet Swift   
Sunday, 13 August 2017

When it was proposed that Error Code 418 I'm a Teapot be removed from Golang, Node and ASP.NET, a campaign to save it was quickly launched - and almost instantly successful. 

418saveWe are all familiar with the 404 error code for "not found" and also 403 "forbidden". But you've may never have come across a 418 "I'm a teapot" error in the wild.

It dates from 1998 when it originated as part of a more elaborate April Fool's Day joke, Hyper Text Coffee Pot Control Protocol (HTCPCP/1.0), from Larry Masinter of the Internet Engineering Task Force (IETF), which sets Internet standards, and subsequently found its way into ASP.NET, Node.js and Google's Go as an Easter Egg.

Last week Mark Nottingham, mnot on GitHub where he is an active contributor and who states in his profile that he works on HTTP specifications and implementations, opened issues on three repos, relating to Golang, Node.js and ASP.NET requesting the removal of support for 418. In each he sketches the history and makes the same case for removal:

HTCPCP was an April 1 joke by Larry to illustrate how people were abusing HTTP in various ways. Ironically, it's not being used to abuse HTTP itself -- people are implementing parts of HTCPCP in their HTTP stacks.

While we have a number of spare 4xx HTTP status codes that are unregistered now, the semantics of HTTP are something that (hopefully) are going to last for a long time, so one day we may need this code point.

Please consider removing support for 418 from Go HTTP, since it's not a HTTP status code (even by its own definition). I know it's amusing, I know that a few people have knocked up implementations for fun, but it shouldn't pollute the core protocol; folks can extend Go easily enough if they want to play with non-standard semantics.

On each repo there was quite a flurry - with far more thumbs down votes than thumbs up. It was 15-year old Shane Brunswick who created the Save 418 Movement arguing:

The application of such an status code is boundless.

Its utility, quite simply, is astonishingly unparalleled.

It’s a reminder that the underlying processes of computers are still made by humans. It'd be a real shame to see 418 go.

The pressure worked and the outcome is that far from being removed the status of 418 has being changed to "Reserved" thanks to a draft document filed by Mark Nottingham to the IETF.

teapotsq

More Information

The Save 418 Movement

Reserving the 418 HTTP Status Code

https://github.com/aspnet/HttpAbstractions/issues/915

https://github.com/golang/go/issues/21326

https://github.com/nodejs/node/issues/14644

Related Articles

Silly Sliders - Compete To Create The Silliest Volume Control

3D Teapot Classic Using Pure DHTML

Cartoon - What's Up With The Kb?

 

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

 

 

Banner


Spider Courtship Decoded by Machine Learning
07/04/2024

Using machine learning to filter out unwanted sounds and to isolate the signals made by three species of wolf spider has not only contributed to an understanding of arachnid courtship behavior, b [ ... ]



Conference Times Ahead
29/03/2024

Following a well-established pattern both Google's and Microsoft's Developer Conferences will take place in May while Apple follows on in June. Here are the dates plus what to expect.


More News

 

raspberry pi books

 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Sunday, 13 August 2017 )