Allow X-OpenStack-Nova-API-Version header in CORS

By default, we don't currently allow the Nova microversion
header for CORS requests.  It should be something that is
included out of the box because it's part of the core API.

Deployers can workaround this by overriding allow_headers,
but we should provide a better experience out of the box.

Closes-Bug: #1931908
Change-Id: Idf4650f36952331f02d7512580c21451f3ee3b63
This commit is contained in:
Mohammed Naser 2021-06-14 16:53:02 -04:00
parent a5b31efb11
commit b02a95a18b
1 changed files with 6 additions and 2 deletions

View File

@ -24,11 +24,15 @@ def set_defaults():