aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/http/status/417/index.html
blob: 772c67f9284c4dd62e77c7218965e46191b9bbf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
title: 417 Expectation Failed
slug: Web/HTTP/Status/417
translation_of: Web/HTTP/Status/417
---
<div>{{HTTPSidebar}}</div>

<p>HTTP协议中的  <strong><code>417 Expectation Failed</code></strong> 状态码表示客户端错误,意味着服务器无法满足 {{HTTPHeader("Expect")}} 请求消息头中的期望条件。</p>

<p>参考 {{HTTPHeader("Expect")}} 消息头获得更多的相关细节信息。</p>

<h2 id="状态码">状态码</h2>

<pre class="syntaxbox">417 Expectation Failed</pre>

<h2 id="规范">规范</h2>

<table class="standard-table">
 <tbody>
  <tr>
   <th scope="col">Specification</th>
   <th scope="col">Title</th>
  </tr>
  <tr>
   <td>{{RFC("7231", "417 Expectation Failed" , "6.5.14")}}</td>
   <td>Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content</td>
  </tr>
 </tbody>
</table>

<h2 id="参见">参见</h2>

<ul>
 <li>{{HTTPHeader("Expect")}}</li>
</ul>