Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'internal/rejectmethods/middleware.go')
-rw-r--r--internal/rejectmethods/middleware.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/rejectmethods/middleware.go b/internal/rejectmethods/middleware.go
index e76fc383..e78a0ce5 100644
--- a/internal/rejectmethods/middleware.go
+++ b/internal/rejectmethods/middleware.go
@@ -12,6 +12,7 @@ var acceptedMethods = map[string]bool{
http.MethodPost: true,
http.MethodPut: true,
http.MethodPatch: true,
+ http.MethodDelete: true,
http.MethodConnect: true,
http.MethodOptions: true,
http.MethodTrace: true,