HTTP StatusCode 418 I'm a teapot

Started by Darren Dirt, March 15, 2017, 10:02:14 AM

Previous topic - Next topic

Darren Dirt

RFC2324 = Hyper Text Coffee Pot Control Protocol

https://tools.ietf.org/html/rfc2324

I had no idea there was more to the April Fools Joke of 1998 than just the StatusCode/Text!



"The server refuses the attempt to brew coffee with a teapot."
^ https://developer.mozilla.org/en-US/docs/Web/HTTP/Status

"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. The RFC specifies this code should be returned by teapots requested to brew coffee. This HTTP status is used as an Easter egg in some websites, including Google.com."
^ https://en.wikipedia.org/wiki/List_of_HTTP_status_codes ( also/even listed on https://httpstatuses.com/ )
_____________________

Strive for progress. Not perfection.
_____________________

Thorin

Prayin' for a 20!

gcc thorin.c -pedantic -o Thorin
compile successful

Darren Dirt

#2
A variety of websites list the most-commonly-known HTTP Codes (I listed a couple) and it's funny to see how some of them describe this one (if they already describe the meaning/usage of the other ones).

Knowing there is a full detailed always-in-character RFC written up for it, though, that was quite a surprise :)


https://tools.ietf.org/html/rfc2324#section-2.3.2
"Any attempt to brew coffee with a teapot should result in the error code "418 I'm a teapot". The resulting entity body MAY be short and stout."

Is that a C programming joke ? And elsewhere is there mention of the coffee being "piping" hot? :)

_____________________

Strive for progress. Not perfection.
_____________________

Mr. Analog

What was that Freeman's Mind episode where the network error was "server shotgunned"

I'll have to find it and see if it's in the list somewhere haha
By Grabthar's Hammer

Tom

Quote from: Darren Dirt on March 15, 2017, 04:42:49 PM
A variety of websites list the most-commonly-known HTTP Codes (I listed a couple) and it's funny to see how some of them describe this one (if they already describe the meaning/usage of the other ones).

Knowing there is a full detailed always-in-character RFC written up for it, though, that was quite a surprise :)


https://tools.ietf.org/html/rfc2324#section-2.3.2
"Any attempt to brew coffee with a teapot should result in the error code "418 I'm a teapot". The resulting entity body MAY be short and stout."

Is that a C programming joke ?

If it were stdout perhaps ;)
<Zapata Prime> I smell Stanley... And he smells good!!!

Darren Dirt

I have a complete list and AFAIK never saw a mention of shotguns. Or crowbars.
_____________________

Strive for progress. Not perfection.
_____________________