OpenStack Identity Authentication Library
Go to file
Ghanshyam Mann c00fca4a09 Make header Case Insensitive
In case of global-request-id request, Adapter
send two global request id header
 - "X-OpenStack-Request-ID"
 - "X-Openstack-Request-Id".

Example: https://zuul.opendev.org/t/openstack/build/c5b1debf78df4aa3bdda34f0b4c53c37/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:
- https://review.opendev.org/#/c/730687/

Let's make the headers always Case Insensitive which is
what RFC says.

Change-Id: Iba707dd0506d22e144aca4fdfc9b140c8e37ae02
Closes-Bug: #1881351
2020-05-29 17:17:11 -05:00
doc Cleanup py27 support 2020-04-17 18:46:54 +02:00
keystoneauth1 Make header Case Insensitive 2020-05-29 17:17:11 -05:00
releasenotes Merge "Cleanup py27 support" 2020-04-20 18:47:24 +00:00
.coveragerc Update coverage to keystoneauth1 2015-12-09 11:46:00 +11:00
.gitignore Migrate to stestr 2017-09-20 15:47:15 -05:00
.gitreview OpenDev Migration Patch 2019-04-19 19:39:37 +00:00
.mailmap Add mailmap entry 2014-05-07 12:12:43 -07:00
.stestr.conf Migrate to stestr 2017-09-20 15:47:15 -05:00
.zuul.yaml Re-add python3.5 testing 2020-04-19 10:33:33 -05:00
CONTRIBUTING.rst Use https for *.openstack.org references 2017-02-06 13:45:24 -08:00
HACKING.rst Migrate to stestr 2017-09-20 15:47:15 -05:00
LICENSE Initial Split of python-keystoneclient to keystoneauth 2015-04-20 14:49:59 -07:00
README.rst Replace git.openstack.org URLs with opendev.org URLs 2019-05-29 02:30:15 +00:00
bindep.txt add lower-constraints job 2018-04-19 09:54:28 +02:00
lower-constraints.txt Cleanup py27 support 2020-04-17 18:46:54 +02:00
requirements.txt Fix misspell word 2019-09-06 15:57:40 +08:00
setup.cfg Re-add python3.5 testing 2020-04-19 10:33:33 -05:00
setup.py Cleanup py27 support 2020-04-17 18:46:54 +02:00
test-requirements.txt Re-add python3.5 testing 2020-04-19 10:33:33 -05:00
tox.ini Update hacking for Python3 2020-03-31 20:11:31 +02:00

README.rst

Team and repository tags

image

keystoneauth

Latest Version

Downloads

This package contains tools for authenticating to an OpenStack-based cloud. These tools include:

  • Authentication plugins (password, token, and federation based)
  • Discovery mechanisms to determine API version support
  • A session that is used to maintain client settings across requests (based on the requests Python library)

Further information: