Branch: refs/heads/master
Home:
https://github.com/Checkmk/checkmk
Commit: dd75665ef17a06713a30ab01e9068fbdd98cdfb5
https://github.com/Checkmk/checkmk/commit/dd75665ef17a06713a30ab01e9068fbdd…
Author: Leonardo Petrora <leonardo.petrora(a)checkmk.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
A cmk/gui/openapi/restful_objects/content_decoder.py
M cmk/gui/openapi/restful_objects/decorators.py
M tests/unit/cmk/gui/openapi/test_endpoint.py
Log Message:
-----------
Extend content types accepted by endpoints
Until now, endpoints were only able to receive application/json content.
This change adds the ‘accept’ attribute to the Endpoint decorator,
separates content decoding to make it extensible, and adds support
for application/gzip content.
Change-Id: If2b0e8bae3b324a4560dbe627d15f5d03d5793f2
To unsubscribe from these emails, change your notification settings at
https://github.com/Checkmk/checkmk/settings/notifications