Files
docker-cli/components/engine/registry
Stephen J Day 22f9d9e216 Open up v2 http status code checks for put and head checks
Under certain cases, such as when putting a manifest or check for the existence
of a layer, the status code checks in session_v2.go were too narrow for their
purpose. In the case of putting a manifest, the handler only cares that an
error is not returned. Whether it is a 304 or 202 does not matter, as long as
the server reports success. Having the client only accept specific http codes
inhibits future protocol evolution.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
Upstream-commit: 86aea582b66929c68de3346a26a26633b62a5784
Component: engine
2015-01-27 18:09:53 -08:00
..
2015-01-15 14:05:05 -08:00
2015-01-15 14:04:14 -08:00
2015-01-15 14:04:14 -08:00
2015-01-15 14:05:05 -08:00
2015-01-15 14:04:14 -08:00