aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/http/status/413/index.html
blob: 232072d3098113485b01104970d17bcc2f3f4ebe (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
---
title: 413 Payload Too Large
slug: Web/HTTP/Status/413
translation_of: Web/HTTP/Status/413
---
<div>{{HTTPSidebar}}</div>

<p>响应状态码 <code><strong>413 Payload Too Large</strong></code> 表示请求主体的大小超过了服务器愿意或有能力处理的限度,服务器可能会(may)关闭连接以防止客户端继续发送该请求。</p>

<p>如果“超出限度”是暂时性的,服务器应该返回  {{HTTPHeader("Retry-After")}} 首部字段,说明这是暂时性的,以及客户端可以在什么时间(after what time)后重试。</p>

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

<pre class="syntaxbox">413 Payload Too Large</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", "413 Payload Too Large" , "6.5.11")}}</td>
   <td>Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content</td>
  </tr>
 </tbody>
</table>

<h2 id="相关内容">相关内容</h2>

<ul>
 <li>{{HTTPHeader("Connection")}}</li>
 <li>{{HTTPHeader("Retry-After")}}</li>
</ul>