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


Lightbend Announces Akka 3
15/11/2024

Lightbend, the company that developed Akka, has announced Akka 3, and has changed its name to Akka. The company produces cloud-native microservices frameworks, and Akka is used for building distribute [ ... ]



Visual Studio 17.12 Released Along With Aspire
25/11/2024

Visual Studio 2022 v17.12 is now available. The release can be used for .NET 9 projects and has a range of other improvements.


More News

 

espbook

 

Comments




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

Last Updated ( Sunday, 13 August 2017 )