httpstatuses/contents/codes/405.md
2016-01-27 14:08:33 -08:00

839 B

set code title references
4 405 Method Not Allowed
Rails HTTP Status Symbol Go HTTP Status Constant
:method_not_allowed http.StatusMethodNotAllowed

The method received in the request-line is known by the origin server but not supported by the target resource.

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

A 405 response is cacheable by default; i.e., unless otherwise indicated by the method definition or explicit cache controls1.