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:
parent
8a98e4888d
commit
6af1446084
|
@ -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 "/">
|
||||
|
|
Loading…
Reference in New Issue