Righteous Wrath Online Community

General => Lobby => Topic started by: Darren Dirt on March 15, 2017, 10:02:14 AM

Title: HTTP StatusCode 418 I'm a teapot
Post by: Darren Dirt on March 15, 2017, 10:02:14 AM
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/ )
Title: Re: HTTP StatusCode 418 I'm a teapot
Post by: Thorin on March 15, 2017, 12:57:49 PM
That's funny, nice find.
Title: Re: HTTP StatusCode 418 I'm a teapot
Post by: 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 ? And elsewhere is there mention of the coffee being "piping" hot? :)

Title: Re: HTTP StatusCode 418 I'm a teapot
Post by: Mr. Analog on March 15, 2017, 05:46:51 PM
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
Title: Re: HTTP StatusCode 418 I'm a teapot
Post by: Tom on March 16, 2017, 07:13:15 AM
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 ;)
Title: Re: HTTP StatusCode 418 I'm a teapot
Post by: Darren Dirt on March 16, 2017, 09:32:57 AM
I have a complete list and AFAIK never saw a mention of shotguns. Or crowbars.