httpstatuses/contents/codes/417.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

23 lines
832 B
Markdown

---
set: 4
code: 417
title: Expectation Failed
references:
"Rails HTTP Status Symbol": ":expectation_failed"
"Go HTTP Status Constant": "http.StatusExpectationFailed"
"Symfony HTTP Status Constant": "Response::HTTP_EXPECTATION_FAILED"
"Python2 HTTP Status Constant": "httplib.EXPECTATION_FAILED"
"Python3+ HTTP Status Constant": "http.client.EXPECTATION_FAILED"
"Python3.5+ HTTP Status Constant": "http.HTTPStatus.EXPECTATION_FAILED"
---
The expectation given in the request's Expect header field<sup>[1](#ref-1)</sup> could not be met by at least one of the inbound servers.
---
* <span id="ref-1"><sup>1</sup> Expect [RFC7231 Section 5.1.1][2]</span>
* Source: [RFC7231 Section 6.5.14][1]
[1]: <http://tools.ietf.org/html/rfc7231#section-6.5.14>
[2]: <http://tools.ietf.org/html/rfc7231#section-5.1.1>