badGateway constant

HttpStatus const badGateway

502 BAD GATEWAY.

The server, while acting as a gateway or proxy, received an invalid response from an inbound server it accessed while attempting to fulfill the request.

Implementation

static const HttpStatus badGateway = HttpStatus._(
  code: HttpStatusCode.badGateway,
  name: 'Bad Gateway',
  description: 'The server, while acting as a gateway or proxy, received '
      'an invalid response from an inbound server it accessed while '
      'attempting to fulfill the request.',
);