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

March 2026

S M T W T F S
12345 6 7
8910111213 14
15 16 171819 2021
22232425262728
293031    

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Wednesday, March 25th, 2026 11:41 pm
Powered by Dreamwidth Studios