5×× Server Error
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.
- Source: RFC7231 Section 6.6.3
502 Code References
Rails HTTP Status Symbol :bad_gateway
Rust HTTP Status Constant http::StatusCode::BAD_GATEWAY
Go HTTP Status Constant http.StatusBadGateway
Symfony HTTP Status Constant Response::HTTP_BAD_GATEWAY
Python2 HTTP Status Constant httplib.BAD_GATEWAY
Python3+ HTTP Status Constant http.client.BAD_GATEWAY
Python3.5+ HTTP Status Constant http.HTTPStatus.BAD_GATEWAY
.NET HTTP Status Constant System.Net.HttpStatusCode.BadGateway