This is becasue of the header not being Case Insensitive
and end up with two different name of same header with difference
of cap 'D'.
Unit test for whether request global-request-id has precedence
over adapter fail many times because of how different python version
treat the dict. py3.6 and above are all good as dict maintain the
insertion ordered but py3.5 can fail it any time.
Reviewed: https:/ /review. opendev. org/731847 /git.openstack. org/cgit/ openstack/ keystoneauth/ commit/ ?id=c00fca4a099 42181937794d711 643511e3b1e4a5
Committed: https:/
Submitter: Zuul
Branch: master
commit c00fca4a0994218 1937794d7116435 11e3b1e4a5
Author: Ghanshyam Mann <email address hidden>
Date: Fri May 29 16:04:47 2020 -0500
Make header Case Insensitive
In case of global-request-id request, Adapter Request- ID" Request- Id".
send two global request id header
- "X-OpenStack-
- "X-Openstack-
Example: https:/ /zuul.opendev. org/t/openstack /build/ c5b1debf78df4aa 3bdda34f0b4c53c 37/log/ testrepository. subunit# 2385
This is becasue of the header not being Case Insensitive
and end up with two different name of same header with difference
of cap 'D'.
Unit test for whether request global-request-id has precedence
over adapter fail many times because of how different python version
treat the dict. py3.6 and above are all good as dict maintain the
insertion ordered but py3.5 can fail it any time.
We can see consistent failure in py35 jobs: /review. opendev. org/#/c/ 730687/
- https:/
Let's make the headers always Case Insensitive which is
what RFC says.
Change-Id: Iba707dd0506d22 e144aca4fdfc9b1 40c8e37ae02
Closes-Bug: #1881351