diff options
author | Sean Dague <sean@dague.net> | 2017-05-15 07:33:07 -0400 |
---|---|---|
committer | Sean Dague <sean@dague.net> | 2017-05-23 12:48:41 -0400 |
commit | 9b94bae73c1cf5549a69e7798d175119cc1aaa2e (patch) | |
tree | 81f4942c138a1fc23a29ceae1c1630d791e1f439 /releasenotes | |
parent | 2eaf1ebaf59500ca549fc97c5703f15cda78c801 (diff) | |
download | oslo-middleware-9b94bae73c1cf5549a69e7798d175119cc1aaa2e.tar.gz |
Allow compatibility headers for request_id
We discovered that Nova is using a local version of the request_id
header code because it's x-compute-request-id predates
x-openstack-request-id, and things were never migrated after the oslo
code was extracted. In order to let Nova use the base code (which may
become more complicated with inbound request-id setting) we need to
support a compat headers field, which is additional http header names
that should be set with the request-id value.
Change-Id: I18a92f8bf2f85fcf30d32be68bae58f64b135df0
Diffstat (limited to 'releasenotes')
-rw-r--r-- | releasenotes/notes/compat_headers-55a635b8ec01b6f1.yaml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/releasenotes/notes/compat_headers-55a635b8ec01b6f1.yaml b/releasenotes/notes/compat_headers-55a635b8ec01b6f1.yaml new file mode 100644 index 0000000..489b33c --- /dev/null +++ b/releasenotes/notes/compat_headers-55a635b8ec01b6f1.yaml @@ -0,0 +1,7 @@ +--- +features: + - | + This adds a new ``compat_headers`` class attribute to the + ``RequestId`` middleware. That allows projects like Nova that have + API contracts on alternative request-id headers to adopt the oslo + ``RequestId`` middleware but still retain their API contract. |