405 Method Not Allowed

由於本文件沒有此語言的翻譯版本,您閱讀的是英文版的內容。 幫助我們翻譯這篇文章!

The HyperText Transfer Protocol (HTTP) 405 Method Not Allowed response status code indicates that the request method is known by the server but is not supported by the target resource.

The server MUST generate an Allow header field in a 405 response containing a list of the target resource's currently supported methods.

Status

405 Method Not Allowed

Specifications

Specification Title
RFC 7231, section 6.5.5: 405 Method Not Allowed Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content

See also