httpstatuses/contents/codes/408.md

25 lines
1.0 KiB
Markdown
Raw Normal View History

2015-11-06 21:39:33 +01:00
---
set: 4
code: 408
title: Request Timeout
references:
"Rails HTTP Status Symbol": ":request_timeout"
2016-01-27 23:08:33 +01:00
"Go HTTP Status Constant": "http.StatusRequestTimeout"
"Symfony HTTP Status Constant": "Response::HTTP_REQUEST_TIMEOUT"
"Python2 HTTP Status Constant": "httplib.REQUEST_TIMEOUT"
"Python3+ HTTP Status Constant": "http.client.REQUEST_TIMEOUT"
"Python3.5+ HTTP Status Constant": "http.HTTPStatus.REQUEST_TIMEOUT"
2015-11-06 21:39:33 +01:00
---
The server did not receive a complete request message within the time that it was prepared to wait.
A server SHOULD send the "close" connection option<sup>[1](#ref-1)</sup> in the response, since 408 implies that the server has decided to close the connection rather than continue waiting. If the client has an outstanding request in transit, the client MAY repeat that request on a new connection.
---
* <span id="ref-1"><sup>1</sup> Connection [RFC7230 Section 6.1][2]</span>
* Source: [RFC7231 Section 6.5.7][1]
[1]: <http://tools.ietf.org/html/rfc7231#section-6.5.7>
2016-01-27 23:08:33 +01:00
[2]: <http://tools.ietf.org/html/rfc7230#section-6.1>