Werk #13048: RESTAPI: evaluate accept header

Component Core & setup
Title RESTAPI: evaluate accept header
Date Oct 5, 2021
Level Trivial Change
Class New Feature
Compatibility Incompatible - Manual interaction might be required
Checkmk versions & editions
2.0.0p13 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

In previous version the accept header of the HTTP-request was completely ignored.

With this werk the accept header can still be omitted, but if it is set to a value that can not be satisfied by the REST-API it will return an error with an 406 status code.

To the list of all Werks