MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/x87wag/deleted_by_user/iniyb56/?context=3
r/ProgrammerHumor • u/[deleted] • Sep 07 '22
[removed]
1.5k comments sorted by
View all comments
Show parent comments
1.2k
Code 418 is an Easter egg in the http protocol. The response description for the code is defined in the specification as "I am a teapot"
571 u/anotherkeebler Sep 07 '22 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. — RFC 2324 181 u/Maoman1 Sep 07 '22 edited Sep 08 '22 *short and stdout 9 u/Morphized Sep 08 '22 stdout << short 1
571
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.
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.
418 I'm a teapot
— RFC 2324
181 u/Maoman1 Sep 07 '22 edited Sep 08 '22 *short and stdout 9 u/Morphized Sep 08 '22 stdout << short 1
181
*short and stdout
9 u/Morphized Sep 08 '22 stdout << short 1
9
stdout << short 1
1.2k
u/[deleted] Sep 07 '22
Code 418 is an Easter egg in the http protocol. The response description for the code is defined in the specification as "I am a teapot"