code418ImATeapot constant

HttpStatus const code418ImATeapot

An alias representing the imATeapot constant, offering a direct substitute for it.

For consistency and improved readability, it is recommended to directly use imATeapot where possible.

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, permanently, a teapot. A combined coffee/tea pot that is temporarily out of coffee should instead return 503. This error is a reference to Hyper Text Coffee Pot Control Protocol defined in April Fools' jokes in 1998 and 2014.

Implementation

static const HttpStatus code418ImATeapot = imATeapot;