imATeapot constant

HttpStatus const imATeapot

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 imATeapot = HttpStatus._(
  code: HttpStatusCode.imATeapot,
  name: 'I\'m A Teapot',
  description:
      '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.',
);