blob: 89e31eb2e43e6ba51178d3713570772e6c4fa385 (
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
|
---
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>
|