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
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.1.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p6 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

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