![]() ![]() (Click on web version, or even cooler, tip your phone on its side!)ĭisclaimer: I work at Google but have nothing at all to do with this feature. The code 418 is used to return I’m a teapot when the server is requested to brew coffee. The HTTP 418 Im a teapot client error response code indicates that the server refuses to brew coffee because it is, permanently, a teapot. Masinter has also said that the protocol proposal has a serious purpose it identifies many of the ways in which HTTP has been extended inappropriately. If you go to /teapot you’ll see an adorable robot teapot, just waiting for you to tip it over and pour it out. Error code 418 is simply listed as I’m a teapot. Well, Google likes Easter eggs and jokes more than just about any company I can think of. 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. Die erste Ziffer eines Statuscodes stellt die Statusklasse dar. From the Wikipedia article on List of HTTP status codes: One of the lesser known error codes is 418. Statuses in the 400 range indicate a client error for instance 400 indicates a “Bad Request”. If you develop for the web, chances are you know some of the HTTP status codes, numerical values that the server returns to the client to tell it whether its request was successful or not.
0 Comments
Leave a Reply. |