diff options
author | Ed Santiago <santiago@redhat.com> | 2020-02-11 15:13:03 -0700 |
---|---|---|
committer | Ed Santiago <santiago@redhat.com> | 2020-02-11 15:15:20 -0700 |
commit | ba30bb8409c20f370dfc3c5ad1351e62a523706d (patch) | |
tree | e4d93ab864b444a48cf1ba273efddddb6a2a547f /vendor/go.uber.org/atomic/glide.yaml | |
parent | 4bdfeed5bf9c467c8ab53b392747ec722505b179 (diff) | |
download | podman-ba30bb8409c20f370dfc3c5ad1351e62a523706d.tar.gz podman-ba30bb8409c20f370dfc3c5ad1351e62a523706d.tar.bz2 podman-ba30bb8409c20f370dfc3c5ad1351e62a523706d.zip |
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>
Diffstat (limited to 'vendor/go.uber.org/atomic/glide.yaml')
0 files changed, 0 insertions, 0 deletions