From 210b7f7ecf92d307b340eca97165cffa0bf5478d Mon Sep 17 00:00:00 2001 From: Thomas Jaeckle Date: Mon, 15 Nov 2021 16:18:03 +0100 Subject: [PATCH] add `PATCH` verb to CorsEnablingDirective Signed-off-by: Thomas Jaeckle --- .../service/endpoints/directives/CorsEnablingDirective.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gateway/service/src/main/java/org/eclipse/ditto/gateway/service/endpoints/directives/CorsEnablingDirective.java b/gateway/service/src/main/java/org/eclipse/ditto/gateway/service/endpoints/directives/CorsEnablingDirective.java index f0962bd65a..c502bc657e 100644 --- a/gateway/service/src/main/java/org/eclipse/ditto/gateway/service/endpoints/directives/CorsEnablingDirective.java +++ b/gateway/service/src/main/java/org/eclipse/ditto/gateway/service/endpoints/directives/CorsEnablingDirective.java @@ -48,7 +48,7 @@ public final class CorsEnablingDirective { private static final AccessControlAllowMethods ACCESS_CONTROL_ALLOW_METHODS = - AccessControlAllowMethods.create(HttpMethods.OPTIONS, HttpMethods.GET, HttpMethods.PUT, + AccessControlAllowMethods.create(HttpMethods.OPTIONS, HttpMethods.GET, HttpMethods.PUT, HttpMethods.PATCH, HttpMethods.POST, HttpMethods.HEAD, HttpMethods.DELETE); private final HttpConfig httpConfig;