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

Closes-Bug: #1821213

Change-Id: Ic3d365e7bf9f725e4b39f3fa2df73a2c37bdd19b
Signed-off-by: zhipengl <zhipengs.liu@intel.com>
(cherry picked from commit 6af1446084)
This commit is contained in:
zhipengl 2019-11-27 01:45:38 +08:00 committed by zhipeng liu
parent 863f4b9733
commit e889f25162
1 changed files with 1 additions and 1 deletions

View File

@ -2643,7 +2643,7 @@ data:
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]
<Location "/">