spiegel_podman/pkg/api/handlers/utils
Matthew Heon 3ac6501fdd API Handlers should not error on empty request bodies
This is a Docker compatibility change discovered while working on
cases it is practically speaking required because there are
mandatory parameters in the body, but in those cases you do not
get a JSON decode error back, you get an error about the field
that needs to be set. I see no reason for us not to match this
convention; it doesn't break our existing bindings, but makes
using the API via curl or similar somewhat easier.

Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2026-05-13 16:33:40 -04:00
..
apiutil RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
containers.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
docker_device.go Fix Docker API DeviceMapping for CDI devices 2026-04-13 20:56:37 +02:00
docker_device_test.go Fix Docker API DeviceMapping for CDI devices 2026-04-13 20:56:37 +02:00
errors.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
handler.go API Handlers should not error on empty request bodies 2026-05-13 16:33:40 -04:00
handler_test.go run modernize -fix ./... 2025-09-10 16:17:04 +02:00
images.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00