ironic/releasenotes/notes/html-errors-27579342e7e8183b.yaml
Dmitry Tantsur be09169c67 Prevent HTML from appearing in API error messages
Currently if the request does not have an Accept header, all pecan
errors end up being HTML, which then gets wrapped into our standard
error format. This change prevents it.

Change-Id: I1968ab20fdeced852744fac5e0e795e997ae6e34
Story: #1662228
Task: #24869
2018-08-28 14:54:15 +02:00

6 lines
164 B
YAML

---
fixes:
- |
The bare metal API no longer returns HTML as part of the ``error_message``
field in error responses when no ``Accept`` header is provided.