The 'name' headers (eg. X-User-Name) and the 'id' headers (eg. X-User-Id) are handled almost consistently, but for only domain header we read only id. Add the parse marker to make sure that the X-Domain-Name header is loaded to RequestContext, so that both name and id are present for domain scoped access. Change-Id: I813e7db514854ffb030fe3e455e7d1ea26028253 Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
Oslo Context Library
The oslo.context library has helpers to maintain useful information about a request context. The request context is usually populated in the WSGI pipeline and used by various modules such as logging.
- License: Apache License, Version 2.0
- Documentation: https://docs.openstack.org/oslo.context/latest/
- Source: https://opendev.org/openstack/oslo.context
- Bugs: https://bugs.launchpad.net/oslo.context
- Release notes: https://docs.openstack.org/releasenotes/oslo.context/
Description
Languages
Python
100%