diff options
author | Rasmus Dahlberg <rasmus@mullvad.net> | 2022-03-30 22:45:46 +0200 |
---|---|---|
committer | Rasmus Dahlberg <rasmus@mullvad.net> | 2022-03-30 22:45:46 +0200 |
commit | b09d20111227be5e6d5126ec905b44a7a4e96b0d (patch) | |
tree | 955fc6be7fb1e364a1d51bcca89080ea0cfa46bc /issues/fix-http-status-405.md | |
parent | 146cd30b9eb17dd3fa5c49c844c6045d62e54a7c (diff) |
move issues to a common pad
Diffstat (limited to 'issues/fix-http-status-405.md')
-rw-r--r-- | issues/fix-http-status-405.md | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/issues/fix-http-status-405.md b/issues/fix-http-status-405.md deleted file mode 100644 index 7a06288..0000000 --- a/issues/fix-http-status-405.md +++ /dev/null @@ -1,24 +0,0 @@ -**Title:** Fix HTTP status 405 </br> -**Date:** 2021-12-09 </br> - -# Summary -Stop returning HTTP Status 405 or ensure that RFC 2616 is followed. - -# Description -When using HTTP GET for a POST endpoint or vice versa, HTTP status code 405 is -currently returned by sigsum-log-go. According to RFC 2616, an Allow header MUST -be included in the response. This issue requires figuring out what -sigsum-log-go should do: not return HTTP Status 405 or adhere to RFC 2616? - -Extract from RFC 2616: -``` -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. -``` - -To find the relevant parts in the sigsum-log-go code, see the output of - - git grep StatusMethodNotAllowed |