blob: 6a4b793e48ff0e55a6cb7d656837872f789b37b5 (
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
36
37
38
39
40
41
42
43
44
45
46
|
---
title: 100 Continue
slug: Web/HTTP/Status/100
tags:
- HTTP
- 信息型
- 状态码
translation_of: Web/HTTP/Status/100
---
<div>{{HTTPSidebar}}</div>
<p>HTTP <strong><code>100 Continue</code></strong> 信息型状态响应码表示目前为止一切正常, 客户端应该继续请求, 如果已完成请求则忽略.</p>
<p>为了让服务器检查请求的首部, 客户端必须在发送请求实体前, 在初始化请求中发送 <code>Expect: 100-continue</code> 首部并接收 <code>100 Continue</code> 响应状态码.</p>
<h2 id="状态码">状态码</h2>
<pre class="syntaxbox">100 Continue</pre>
<h2 id="规范">规范</h2>
<table class="standard-table">
<tbody>
<tr>
<th scope="col">规范</th>
<th scope="col">标题</th>
</tr>
<tr>
<td>{{RFC("7231", "100 Continue" , "6.2.1")}}</td>
<td>Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content</td>
</tr>
</tbody>
</table>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
<p class="hidden">The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out <a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> and send us a pull request.</p>
<p>{{Compat("http/status.json", "100 Continue")}}</p>
<h2 id="另见">另见</h2>
<ul>
<li>{{HTTPHeader("Expect")}}</li>
<li>{{HTTPStatus(417)}}</li>
</ul>
|