Add 'PATCH' to request method in order to enable 'PATCH' method in Horizon

Change-Id: I2e5f08cdde91c842c574d5318b8ae3113dd6fa80
Closes-Bug: #1821213
This commit is contained in:
zhouyao 2019-07-30 16:22:53 +08:00
parent 777e5994e8
commit 058769c49c

View File

@ -91,7 +91,7 @@ conf:
WSGIScriptAlias / /var/www/cgi-bin/horizon/django.wsgi WSGIScriptAlias / /var/www/cgi-bin/horizon/django.wsgi
WSGIPassAuthorization On WSGIPassAuthorization On
RewriteEngine on RewriteEngine on
RewriteCond %{REQUEST_METHOD} !^(POST|PUT|GET|DELETE) RewriteCond %{REQUEST_METHOD} !^(POST|PUT|GET|DELETE|PATCH)
RewriteRule .* - [F] RewriteRule .* - [F]
<Location "/"> <Location "/">