httpstatuses/contents/codes/504.md
WALL-E 62df9e637c Add Python status constants (#57)
* Add Python status constants

* Add Python 2, Python 3+, Python 3.5+ status constants
2016-05-22 00:07:16 +01:00

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>