I'm a teapot
-
So, going through MDN's documented [HTTP response status codes](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status) I ran into this nugget in the 400's: >418 I'm a teapot >The server refuses the attempt to brew coffee with a teapot. I can appreciate the sentiment.
"There are three kinds of lies: lies, damned lies and statistics." - Benjamin Disraeli
-
So, going through MDN's documented [HTTP response status codes](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status) I ran into this nugget in the 400's: >418 I'm a teapot >The server refuses the attempt to brew coffee with a teapot. I can appreciate the sentiment.
"There are three kinds of lies: lies, damned lies and statistics." - Benjamin Disraeli
Wikipedia has slightly more information:
List of HTTP status codes - Wikipedia[^]:
This code was defined in 1998 as one of the traditional IETF April Fools' jokes, in RFC 2324, Hyper Text Coffee Pot Control Protocol[^], and is not expected to be implemented by actual HTTP servers.
But with stories like this[^] getting more common, it can't be long until this is used in a real project. :laugh:
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
-
So, going through MDN's documented [HTTP response status codes](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status) I ran into this nugget in the 400's: >418 I'm a teapot >The server refuses the attempt to brew coffee with a teapot. I can appreciate the sentiment.
"There are three kinds of lies: lies, damned lies and statistics." - Benjamin Disraeli
-
So, going through MDN's documented [HTTP response status codes](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status) I ran into this nugget in the 400's: >418 I'm a teapot >The server refuses the attempt to brew coffee with a teapot. I can appreciate the sentiment.
"There are three kinds of lies: lies, damned lies and statistics." - Benjamin Disraeli
One of the teams where I work are called the 418's and they are named after this response.
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
-
Wikipedia has slightly more information:
List of HTTP status codes - Wikipedia[^]:
This code was defined in 1998 as one of the traditional IETF April Fools' jokes, in RFC 2324, Hyper Text Coffee Pot Control Protocol[^], and is not expected to be implemented by actual HTTP servers.
But with stories like this[^] getting more common, it can't be long until this is used in a real project. :laugh:
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
There were attempts to remove that status code: net/http: remove support for status code 418 I'm a Teapot · Issue #21326 · golang/go · GitHub[^]. But the community resisted: Save Error Code 418[^] And the iniator of the removement accepted the resistance and requested a reservation: Reserving the 418 HTTP Status Code[^]
-
There were attempts to remove that status code: net/http: remove support for status code 418 I'm a Teapot · Issue #21326 · golang/go · GitHub[^]. But the community resisted: Save Error Code 418[^] And the iniator of the removement accepted the resistance and requested a reservation: Reserving the 418 HTTP Status Code[^]
In other news, Mark Nottingham lives at home with Mom and his friends are like his sense of humour. Nonexistent.
veni bibi saltavi
-
So, going through MDN's documented [HTTP response status codes](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status) I ran into this nugget in the 400's: >418 I'm a teapot >The server refuses the attempt to brew coffee with a teapot. I can appreciate the sentiment.
"There are three kinds of lies: lies, damned lies and statistics." - Benjamin Disraeli
Use Chrome's developer tools to view the HTTP status code returned when visiting google.com/teapot. [https://www.google.com/teapot]
-
Use Chrome's developer tools to view the HTTP status code returned when visiting google.com/teapot. [https://www.google.com/teapot]
Love it! I also enjoy how every time you click the teapot, it triggers an analytics callback.
"There are three kinds of lies: lies, damned lies and statistics." - Benjamin Disraeli
-
So, going through MDN's documented [HTTP response status codes](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status) I ran into this nugget in the 400's: >418 I'm a teapot >The server refuses the attempt to brew coffee with a teapot. I can appreciate the sentiment.
"There are three kinds of lies: lies, damned lies and statistics." - Benjamin Disraeli
Hah! I should return this code to malicious/blacklisted IP's. :laugh:
Latest Article - Class-less Coding - Minimalist C# and Why F# and Function Programming Has Some Advantages Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802
-
Hah! I should return this code to malicious/blacklisted IP's. :laugh:
Latest Article - Class-less Coding - Minimalist C# and Why F# and Function Programming Has Some Advantages Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802
I've been thinking that it would be perfect for malformed user input.
"There are three kinds of lies: lies, damned lies and statistics." - Benjamin Disraeli