ironic/ironic/api/middleware
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
..
__init__.py Stop guessing mime types based on URLs 2018-02-07 20:58:35 +00:00
auth_token.py Fix W605 Errors 2018-05-09 06:13:55 -07:00
json_ext.py Stop guessing mime types based on URLs 2018-02-07 20:58:35 +00:00
parsable_error.py Prevent HTML from appearing in API error messages 2018-08-28 14:54:15 +02:00