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

June 2025

S M T W T F S
1234567
8910 1112 1314
15161718192021
222324 25 262728
2930     

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Sunday, June 29th, 2025 01:06 pm
Powered by Dreamwidth Studios