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
702 B
Markdown
21 lines
702 B
Markdown
---
|
|
set: 5
|
|
code: 504
|
|
title: Gateway Timeout
|
|
references:
|
|
"Rails HTTP Status Symbol": ":gateway_timeout"
|
|
"Go HTTP Status Constant": "http.StatusGatewayTimeout"
|
|
"Symfony HTTP Status Constant": "Response::HTTP_GATEWAY_TIMEOUT"
|
|
"Python2 HTTP Status Constant": "httplib.GATEWAY_TIMEOUT"
|
|
"Python3+ HTTP Status Constant": "http.client.GATEWAY_TIMEOUT"
|
|
"Python3.5+ HTTP Status Constant": "http.HTTPStatus.GATEWAY_TIMEOUT"
|
|
---
|
|
|
|
The server, while acting as a gateway or proxy, did not receive a timely response from an upstream server it needed to access in order to complete the request.
|
|
|
|
---
|
|
|
|
* Source: [RFC7231 Section 6.6.5][1]
|
|
|
|
[1]: <http://tools.ietf.org/html/rfc7231#section-6.6.5>
|