Branch: refs/heads/2.0.0
Home:
https://github.com/tribe29/checkmk
Commit: 06ac1d6856b4debef6293ac47cce6bc6a7544657
https://github.com/tribe29/checkmk/commit/06ac1d6856b4debef6293ac47cce6bc6a…
Author: Benedikt Seidl <benedikt.seidl(a)tribe29.com>
Date: 2021-10-05 (Tue, 05 Oct 2021)
Changed paths:
M cmk/gui/plugins/openapi/restful_objects/type_defs.py
M tests/unit/cmk/gui/plugins/openapi/test_restful_objects.py
Log Message:
-----------
RESTAPI: fix missing "405" in status codes
Change-Id: Icd49c7015baa5869269b92e0d75fcc9821a583c8
Commit: d6f245a3fc293c28db74b747e7e47cc4b87a9424
https://github.com/tribe29/checkmk/commit/d6f245a3fc293c28db74b747e7e47cc4b…
Author: Benedikt Seidl <benedikt.seidl(a)tribe29.com>
Date: 2021-10-05 (Tue, 05 Oct 2021)
Changed paths:
A .werks/13048
M cmk/gui/plugins/openapi/restful_objects/decorators.py
M cmk/gui/plugins/openapi/restful_objects/type_defs.py
A tests/unit/cmk/gui/plugins/openapi/test_endpoint.py
Log Message:
-----------
13048 RESTAPI: evaluate accept header
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.
CMK-8660
Change-Id: I8e46b349f3857726a8f8188c52bc254d61456c92
Compare:
https://github.com/tribe29/checkmk/compare/35572cebd879...d6f245a3fc29