Werk #13048: RESTAPI: evaluate accept header

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

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