Werk #13048: RESTAPI: evaluate accept header

Komponente Core & setup
Titel RESTAPI: evaluate accept header
Datum 05.10.2021
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 2.0.0p13
Level Kleine Änderung
Klasse Neues Feature
Kompatibilität Inkompatibel - Manuelle Interaktion könnte erforderlich sein

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.

Zur Liste aller Werks