aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/http/status/429
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/http/status/429')
-rw-r--r--files/zh-cn/web/http/status/429/index.html45
1 files changed, 45 insertions, 0 deletions
diff --git a/files/zh-cn/web/http/status/429/index.html b/files/zh-cn/web/http/status/429/index.html
new file mode 100644
index 0000000000..75af3a69f3
--- /dev/null
+++ b/files/zh-cn/web/http/status/429/index.html
@@ -0,0 +1,45 @@
+---
+title: 429 Too Many Requests
+slug: Web/HTTP/Status/429
+tags:
+ - HTTP协议
+ - 客户端错误
+ - 状态码
+translation_of: Web/HTTP/Status/429
+---
+<div>{{HTTPSidebar}}</div>
+
+<p>在HTTP协议中,响应状态码  <code><strong>429 Too Many Requests</strong></code> 表示在一定的时间内用户发送了太多的请求,即超出了“频次限制”。</p>
+
+<p>在响应中,可以提供一个  {{HTTPHeader("Retry-After")}} 首部来提示用户需要等待多长时间之后再发送新的请求。</p>
+
+<h2 id="状态">状态</h2>
+
+<pre class="syntaxbox">429 Too Many Requests</pre>
+
+<h2 id="示例">示例</h2>
+
+<pre>HTTP/1.1 429 Too Many Requests
+Content-Type: text/html
+Retry-After: 3600</pre>
+
+<h2 id="规范">规范</h2>
+
+<table class="standard-table">
+ <tbody>
+ <tr>
+ <th scope="col">Specification</th>
+ <th scope="col">Title</th>
+ </tr>
+ <tr>
+ <td>{{RFC("6585", "429 Too Many Requests" , "4")}}</td>
+ <td>Additional HTTP Status Codes</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="相关内容">相关内容</h2>
+
+<ul>
+ <li>{{HTTPHeader("Retry-After")}}</li>
+</ul>