4×× CLIENT ERROR

405 METHOD NOT ALLOWED

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 controls.

Calculating Heuristic Freshness RFC7234 Section 4.2.2

405 METHOD NOT ALLOWED Source: RFC7231 Section 6.5.5

 

405 CODE REFERENCES

Rails HTTP Status Symbol :method_not_allowed

Go HTTP Status Constant http.StatusMethodNotAllowed

Symfony HTTP Status Constant Response::HTTP_METHOD_NOT_ALLOWED

Python2 HTTP Status Constant httplib.METHOD_NOT_ALLOWED

Python3+ HTTP Status Constant http.client.METHOD_NOT_ALLOWED

Python3.5+ HTTP Status Constant http.HTTPStatus.METHOD_NOT_ALLOWED

Recommended: