mirror of
https://github.com/rmaake1/httpstatuses.git
synced 2024-09-15 14:02:37 +02:00
62df9e637c
* Add Python status constants * Add Python 2, Python 3+, Python 3.5+ status constants
21 lines
667 B
Markdown
21 lines
667 B
Markdown
---
|
|
set: 5
|
|
code: 502
|
|
title: Bad Gateway
|
|
references:
|
|
"Rails HTTP Status Symbol": ":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"
|
|
---
|
|
|
|
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][1]
|
|
|
|
[1]: <http://tools.ietf.org/html/rfc7231#section-6.6.3>
|