Support for both microversion headers
In this change the new OpenStack-API-Version headers is allowed, but not required, for requesting a microversion. Both headers are accepted in the request and both headers are sent in the response (both the header and its value, and the addition to the Vary header). Many tests which explicitly use a microversion header have been updated to use both. This change is not 100% as most of the tests are testing the handling of the value of the header, not which header is involved. Partially-Implements: blueprint modern-microversions Change-Id: I68da13b5ba0c2f3357523e765a5b9db81899daf1
This commit is contained in:
@@ -12,7 +12,8 @@ supports versioning. There are two kinds of versions in Nova.
|
||||
|
||||
- ''major versions'', which have dedicated urls
|
||||
- ''microversions'', which can be requested through the use of the
|
||||
``X-OpenStack-Nova-API-Version`` header
|
||||
``X-OpenStack-Nova-API-Version`` header or since microversion 2.27
|
||||
the ``OpenStack-API-Version`` header may also be used.
|
||||
|
||||
For more detail about Microversion, please reference:
|
||||
`Microversions
|
||||
|
||||
Reference in New Issue
Block a user