bc491817e1
melanie witt
bc491817e1
Allow logging of Content-Type text/plain
Noticed this while doing some local testing, if a WSGI app replies with a text/plain content type to communicate a server error, we aren't able to see the error response message when passing --debug to the openstackclient, example: RESP: [500] Date: Thu, 01 Oct 2020 23:54:15 GMT Server: Apache/2.4.18 (Ubuntu) Content-Type: text/plain; charset=UTF-8 Connection: close Transfer-Encoding: chunked RESP BODY: Omitted, Content-Type is set to text/plain; charset=UTF-8. Only application/json responses have their bodies logged. Change-Id: Ibfd46c7725bd0aa26f1f80b0e8fc6eda2ac2e090
Team and repository tags
keystoneauth
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:
- Free software: Apache license
- Documentation: https://docs.openstack.org/keystoneauth/latest/
- Source: https://opendev.org/openstack/keystoneauth
- Bugs: https://bugs.launchpad.net/keystoneauth
- Release notes: https://docs.openstack.org/releasenotes/keystoneauth/
Description
Languages
Python
100%