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>
This commit is contained in:
zhipengl 2019-11-27 01:45:38 +08:00
parent 8a98e4888d
commit 6af1446084
1 changed files with 1 additions and 1 deletions

View File

@ -2642,7 +2642,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 "/">