HTTP 418 response code.

By | March 29, 2022

The HTTP 418 code description is “I’m a teapot”. in other words this response code means that the HTTP server refuses to brew coffee because it is, permanently, a teapot. This code is defined in RFC 2324 and RFC 7168 (section 418 I’m a teapot). This code was defined as April Fools’ joke and usually it is not implemented by actual HTTP servers. After Russia’s invasion of Ukraine Russian ministry of defense website started geo-blocking access to IPs outside of Russia and began to return 418 response code for these IPs:


# curl -I https://mil.ru
HTTP/1.1 418
Date: Tue, 29 Mar 2022 17:14:48 GMT
Content-Length: 0
Connection: keep-alive
Server: Ministry of Defence of the Russian Federation

Leave a Reply

Your email address will not be published. Required fields are marked *