Looks like the apiclient in oslo-incubator handled this awhile ago:
https://github.com/openstack/oslo-incubator/commit/fd8dc0c3ffe38fe64a3c841d87ea820045221770
Which is now used in keystoneauth. And python-keystoneclient is using that code from keystoneauth.
Looks like the apiclient in oslo-incubator handled this awhile ago:
https:/ /github. com/openstack/ oslo-incubator/ commit/ fd8dc0c3ffe38fe 64a3c841d87ea82 0045221770
Which is now used in keystoneauth. And python- keystoneclient is using that code from keystoneauth.