code502BadGateway constant
HttpStatus
const code502BadGateway
An alias representing the badGateway constant, offering a direct substitute for it.
For consistency and improved readability, it is recommended to directly use badGateway where possible.
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 code502BadGateway = badGateway;