Thursday, February 28th, 2019

i am a teapot

Thursday, February 28th, 2019 01:10 am
darkoshi: (Default)
I was looking up an HTTP status code...
https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/http/HttpStatus.html

and as I scrolled down that page, "I_AM_A_TEAPOT" scrolled by... wait, what?

After finding the code I was looking for (NO_CONTENT or some such one), I went back to read what the Teapot status code was for.

418 I'm a teapot
The HTTP 418 I'm a teapot client error response code indicates that the server refuses to brew coffee because it is a teapot. This error is a reference of Hyper Text Coffee Pot Control Protocol which was an April Fools' joke in 1998.


Hyper Text Coffee Pot Control Protocol (HTCPCP/1.0)
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.


Attempt To Remove Joke 'I'm A Teapot' Web Error Ends Up Making It Official Instead

December 2025

S M T W T F S
 12345 6
78 910111213
14151617181920
2122 23 24252627
28293031   

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Wednesday, December 24th, 2025 09:59 am
Powered by Dreamwidth Studios