diff options
Diffstat (limited to 'issues/http-status-405.md')
-rw-r--r-- | issues/http-status-405.md | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/issues/http-status-405.md b/issues/http-status-405.md new file mode 100644 index 0000000..3278f42 --- /dev/null +++ b/issues/http-status-405.md @@ -0,0 +1,19 @@ +# HTTP status 405, no Allow header +Reported by: ln5 + +When using HTTP GET for a POST endpoint or vice versa, HTTP status code 405 is +returned by the server. According to RFC2616 an Allow header MUST be included in +the response. + +``` +10.4.6 405 Method Not Allowed + +The method specified in the Request-Line is not allowed for the resource +identified by the Request-URI. The response MUST include an Allow header +containing a list of valid methods for the requested resource. +``` + +Find relevant places to start looking: +``` +$ git grep StatusMethodNotAllowed +``` |