Werk #12942: REST API: parse HTTP content-type header options

Component REST API
Title REST API: parse HTTP content-type header options
Date Jun 7, 2021
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.0.0p6 2.1.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

Endpoints of the REST API didn't understand content-types in the form of "application/json; charset=utf-8" and rejected the call even if it would be valid according to the RFC. This has now been fixed and the error messsages have been improved as well.

To the list of all Werks