spiegel_podman/pkg/api/handlers/libpod
Ed Santiago ba30bb8409 HTTP 304 (NotModified) is not an error!
Even after #5169, my test logs kept showing:

   ERRO[0004] unable to write json: "http: request method or response status code does not allow body"

Cause: overly-helpful code trying to treat condition as an
error and include a diagnostic message. This is forbidden
per rfc2616.

This PR fixes the faulty response, as well as three others
found via:

    $ ack 'Error.*NotMod'  (4 hits total)
    $ ack 'Error.*NoCont'  (no hits)

Signed-off-by: Ed Santiago <santiago@redhat.com>
2020-02-11 15:15:20 -07:00
..
containers.go Rewire ListContainers for APIv2 libpod 2020-02-11 08:14:28 -06:00
healthcheck.go fix longname handling for bindings 2020-01-31 08:38:25 -06:00
images.go v2 api: /libpod/images/import 2020-02-10 13:18:50 +01:00
networks.go fix longname handling for bindings 2020-01-31 08:38:25 -06:00
pods.go HTTP 304 (NotModified) is not an error! 2020-02-11 15:15:20 -07:00
swagger.go Rewire ListContainers for APIv2 libpod 2020-02-11 08:14:28 -06:00
types.go Rewire ListContainers for APIv2 libpod 2020-02-11 08:14:28 -06:00
volumes.go fix longname handling for bindings 2020-01-31 08:38:25 -06:00