d73fd3ee84
When whitelisting content types to debug print from session we chose application/json and application/text. application/text is not a real mime type, text is typically text/plain. Rather than guess at mime types only print application/json to start with, but make it easy for additional types to be added later. Change-Id: Ica5fee076cdab8b1d5167161d28af7313fad9477 Related-Bug: 1616105
9 lines
365 B
YAML
9 lines
365 B
YAML
---
|
|
fixes:
|
|
- >
|
|
[`bug 1616105 <https://bugs.launchpad.net/keystoneauth/+bug/1616105>`_]
|
|
Only log the response body when the ``Content-Type`` header is set to
|
|
``application/json``. This avoids logging large binary objects (such as
|
|
images). Other ``Content-Type`` will not be logged. Additional
|
|
``Content-Type`` strings can be added as required.
|