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:
parent
863f4b9733
commit
e889f25162
|
@ -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 "/">
|
||||
|
|
Loading…
Reference in New Issue