Merge "cors: update default configuration"

This commit is contained in:
Jenkins 2016-12-18 14:23:43 +00:00 committed by Gerrit Code Review
commit 8ddef55e13

View File

@ -38,9 +38,7 @@ def set_config_defaults():
def set_cors_middleware_defaults():
"""Update default configuration options for oslo.middleware."""
# CORS Defaults
# TODO(krotscheck): Update with https://review.openstack.org/#/c/285368/
cfg.set_defaults(cors.CORS_OPTS,
cors.set_defaults(
allow_headers=['X-Auth-Token',
'X-Identity-Status',
'X-Roles',