aboutsummaryrefslogtreecommitdiff
path: root/issues/http-status-405.md
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus.dahlberg@kau.se>2021-09-27 22:06:31 +0200
committerRasmus Dahlberg <rasmus.dahlberg@kau.se>2021-09-27 22:06:31 +0200
commit0b0320d8f295394e2afc5f0cf012422e8625518b (patch)
treea32512c8d9ce63aa3b9fd92f58468c9e7a8edbb1 /issues/http-status-405.md
parent3981cdc68052c5084c28ade768b635d24242aa6d (diff)
imported issues
Diffstat (limited to 'issues/http-status-405.md')
-rw-r--r--issues/http-status-405.md19
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
+```