diff options
Diffstat (limited to 'files/zh-cn/web/http/status/414/index.html')
| -rw-r--r-- | files/zh-cn/web/http/status/414/index.html | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/files/zh-cn/web/http/status/414/index.html b/files/zh-cn/web/http/status/414/index.html new file mode 100644 index 0000000000..a2dcb0a180 --- /dev/null +++ b/files/zh-cn/web/http/status/414/index.html @@ -0,0 +1,44 @@ +--- +title: 414 URI Too Long +slug: Web/HTTP/Status/414 +tags: + - 响应状态码 + - 客户端错误 +translation_of: Web/HTTP/Status/414 +--- +<div>{{HTTPSidebar}}</div> + +<p>响应码 <code><strong>414 URI Too Long</strong></code> 表示客户端所请求的 URI 超过了服务器允许的范围。</p> + +<p>以下是造成这种罕见情况的几种可能原因:</p> + +<ul> + <li>当客户端误将 {{HTTPMethod("POST")}} 请求当作 {{HTTPMethod("GET")}} 请求时,会带有一个较长的查询字符串(query);</li> + <li>当客户端堕入重定向循环黑洞时,例如,指向自身后缀的重定向URI前缀(a redirected URI prefix that points to a suffix of itself);</li> + <li>当客户端对服务器进行攻击,试图寻找潜在的漏洞时。</li> +</ul> + +<h2 id="状态">状态</h2> + +<pre class="syntaxbox">414 URI Too Long</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", "414 URI Too Long" , "6.5.12")}}</td> + <td>Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content</td> + </tr> + </tbody> +</table> + +<h2 id="相关内容">相关内容</h2> + +<ul> + <li>{{Glossary("URI")}}</li> +</ul> |
