spiegel_podman/pkg/api/handlers/libpod
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
..
artifacts.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
containers.go API Handlers should not error on empty request bodies 2026-05-13 16:33:40 -04:00
containers_create.go API Handlers should not error on empty request bodies 2026-05-13 16:33:40 -04:00
containers_stats.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
generate.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
healthcheck.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
images.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
images_pull.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
images_push.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
info.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
kube.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
kube_test.go Make most of libpod, and everything that relies on it, non-darwin 2026-02-27 22:18:36 +01:00
manifests.go API Handlers should not error on empty request bodies 2026-05-13 16:33:40 -04:00
networks.go API Handlers should not error on empty request bodies 2026-05-13 16:33:40 -04:00
play.go Make most of libpod, and everything that relies on it, non-darwin 2026-02-27 22:18:36 +01:00
pods.go API Handlers should not error on empty request bodies 2026-05-13 16:33:40 -04:00
quadlets.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
secrets.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
swagger_spec.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
system.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
volumes.go API Handlers should not error on empty request bodies 2026-05-13 16:33:40 -04:00