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:
-rw-r--r--CHANGELOG4
-rw-r--r--VERSION2
-rw-r--r--internal/rejectmethods/middleware.go1
3 files changed, 6 insertions, 1 deletions
diff --git a/CHANGELOG b/CHANGELOG
index cf06a685..878d285f 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,7 @@
+v 1.30.2
+
+- Allow DELETE HTTP method
+
v 1.30.1
- Reject requests with unknown HTTP methods
diff --git a/VERSION b/VERSION
index 7f3c3aff..d1eaa3ba 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-1.30.1
+1.30.2
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,