From 058769c49c9ad4f3c624bd241bd79b2edc308b9b Mon Sep 17 00:00:00 2001 From: zhouyao Date: Tue, 30 Jul 2019 16:22:53 +0800 Subject: [PATCH] Add 'PATCH' to request method in order to enable 'PATCH' method in Horizon Change-Id: I2e5f08cdde91c842c574d5318b8ae3113dd6fa80 Closes-Bug: #1821213 --- horizon/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/horizon/values.yaml b/horizon/values.yaml index e3eeb9320c..c16b865997 100644 --- a/horizon/values.yaml +++ b/horizon/values.yaml @@ -91,7 +91,7 @@ conf: WSGIScriptAlias / /var/www/cgi-bin/horizon/django.wsgi WSGIPassAuthorization On RewriteEngine on - RewriteCond %{REQUEST_METHOD} !^(POST|PUT|GET|DELETE) + RewriteCond %{REQUEST_METHOD} !^(POST|PUT|GET|DELETE|PATCH) RewriteRule .* - [F]