diff options
-rw-r--r-- | oslo_middleware/cors.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/oslo_middleware/cors.py b/oslo_middleware/cors.py index 804b123..71edde3 100644 --- a/oslo_middleware/cors.py +++ b/oslo_middleware/cors.py @@ -44,7 +44,8 @@ CORS_OPTS = [ default=3600, help='Maximum cache age of CORS preflight requests.'), cfg.ListOpt('allow_methods', - default=['GET', 'POST', 'PUT', 'DELETE', 'OPTIONS'], + default=['OPTIONS', 'GET', 'HEAD', 'POST', 'PUT', 'DELETE', + 'TRACE'], # RFC 2616 help='Indicate which methods can be used during the actual ' 'request.'), cfg.ListOpt('allow_headers', |