podman/pkg/api/handlers/utils
Ed Santiago bdccdd2265 API v2: pods: fix two incorrect return codes
1) /pods/<X>/exists - is documented to return 204, and that's
    the correct value, but until now it has been returning 200.

 2) /pods/create - return 409 (conflict), not 500, when pod
    already exists

Also: in WriteResponse(), if code is 204 (No Content) or 304
(Not Modified), emit the status code only but no content-type
headers nor content.

Signed-off-by: Ed Santiago <santiago@redhat.com>
2020-02-11 10:50:23 -07:00
..
containers.go fix longname handling for bindings 2020-01-31 08:38:25 -06:00
errors.go [CI:DOCS]Binding overhauls 2020-01-28 08:42:18 -06:00
handler.go API v2: pods: fix two incorrect return codes 2020-02-11 10:50:23 -07:00
images.go APIv2 review corrections #3 2020-01-25 15:09:09 -06:00