--- title: 501 Not Implemented slug: Web/HTTP/Status/501 tags: - HTTP - 服务器错误 - 状态码 translation_of: Web/HTTP/Status/501 --- <div>{{HTTPSidebar}}</div> <p>HTTP <code><strong>501</strong></code><strong><code> Not Implemented</code></strong> 服务器错误响应码表示请求的方法不被服务器支持,因此无法被处理。服务器必须支持的方法(即不会返回这个状态码的方法)只有 {{HTTPMethod("GET")}} 和 {{HTTPMethod("HEAD")}}。</p> <p>请注意,你无法修复 501 错误,需要被访问的 web 服务器去修复该问题。</p> <div class="note"> <p>501 响应默认是可缓存的。</p> </div> <h2 id="状态">状态</h2> <pre class="syntaxbox">501 Not Implemented</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", "501 Not Implemented" , "6.6.2")}}</td> <td>Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content</td> </tr> </tbody> </table> <h2 id="浏览器兼容性">浏览器兼容性</h2> <p>{{Compat("http.status.501")}}</p>