aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/http/status/403/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/http/status/403/index.html')
-rw-r--r--files/zh-cn/web/http/status/403/index.html53
1 files changed, 53 insertions, 0 deletions
diff --git a/files/zh-cn/web/http/status/403/index.html b/files/zh-cn/web/http/status/403/index.html
new file mode 100644
index 0000000000..dc23dea60b
--- /dev/null
+++ b/files/zh-cn/web/http/status/403/index.html
@@ -0,0 +1,53 @@
+---
+title: 403 Forbidden
+slug: Web/HTTP/Status/403
+tags:
+ - 客户端错误
+ - 身份验证
+ - 首部
+ - 验证失败
+translation_of: Web/HTTP/Status/403
+---
+<div>{{HTTPSidebar}}</div>
+
+<p>状态码 <strong><code>403 Forbidden</code></strong> 代表客户端错误,指的是服务器端有能力处理该请求,但是拒绝授权访问。</p>
+
+<p>这个状态类似于 {{HTTPStatus("401")}},但进入该状态后不能再继续进行验证。该访问是长期禁止的,并且与应用逻辑密切相关(例如不正确的密码)。</p>
+
+<h2 id="状态">状态</h2>
+
+<pre class="syntaxbox">403 Forbidden</pre>
+
+<h2 id="响应示例">响应示例</h2>
+
+<pre>HTTP/1.1 403 Forbidden
+Date: Wed, 21 Oct 2015 07:28:00 GMT
+</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", "403 Forbidden" , "6.5.3")}}</td>
+ <td>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.403")}}</p>
+
+<h2 id="相关内容">相关内容</h2>
+
+<ul>
+ <li>{{HTTPStatus("401")}}</li>
+ <li><a href="https://www.exai.com/blog/403-forbidden">403 forbidden error</a></li>
+</ul>