aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/http/status/405/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/http/status/405/index.html')
-rw-r--r--files/zh-cn/web/http/status/405/index.html34
1 files changed, 34 insertions, 0 deletions
diff --git a/files/zh-cn/web/http/status/405/index.html b/files/zh-cn/web/http/status/405/index.html
new file mode 100644
index 0000000000..89e31eb2e4
--- /dev/null
+++ b/files/zh-cn/web/http/status/405/index.html
@@ -0,0 +1,34 @@
+---
+title: 405 Method Not Allowed
+slug: Web/HTTP/Status/405
+translation_of: Web/HTTP/Status/405
+---
+<div>{{HTTPSidebar}}</div>
+
+<p>状态码 <code><font face="Open Sans, Arial, sans-serif"><strong>405 Method Not Allowed</strong></font></code> 表明服务器禁止了使用当前 HTTP 方法的请求。</p>
+
+<h2 id="状态码">状态码</h2>
+
+<pre class="syntaxbox notranslate">405 Method Not Allowed</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", "405 Method Not Allowed" , "6.5.5")}}</td>
+ <td>Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="参见">参见</h2>
+
+<ul>
+ <li>{{HTTPHeader("Allow")}}</li>
+<li><a href="https://www.exai.com/blog/http-405-error">405 Method Not Allowed</a></li>
+</ul>