From 2cfbfaf33fb1cb662a65558ada9d4d2ae2b70108 Mon Sep 17 00:00:00 2001 From: Vladimir Shushlin Date: Fri, 25 Dec 2020 12:03:03 +0300 Subject: Allow DELETE HTTP method For some reason I forgot it the last time --- CHANGELOG | 12 ++++++++++++ VERSION | 2 +- internal/rejectmethods/middleware.go | 1 + 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 2c6ce16b..e315ddcc 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,7 @@ +v 1.34.0 + +- Allow DELETE HTTP method + v 1.33.0 - Reject requests with unknown HTTP methods @@ -15,6 +19,10 @@ v 1.31.0 - Add zip serving configuration flags !392 - Disable deprecated serverless serving and proxy !400 +v 1.30.2 + +- Allow DELETE HTTP method + v 1.30.1 - Reject requests with unknown HTTP methods @@ -33,6 +41,10 @@ v 1.29.0 - Improve httprange timeouts !382 - Fix caching for errored ZIP VFS archives !384 +v 1.28.2 + +- Allow DELETE HTTP method + v 1.28.1 - Reject requests with unknown HTTP methods diff --git a/VERSION b/VERSION index 7aa332e4..2b17ffd5 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.33.0 +1.34.0 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, -- cgit v1.2.3