moby/registry
Stephen J Day 86aea582b6 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>
2015-01-27 18:09:53 -08:00
..
v2 Remove dependencies on registry packages 2015-01-15 14:05:05 -08:00
auth.go Merge pull request #9784 from dmcgowan/v2-registry 2015-01-19 10:46:38 -08:00
auth_test.go Fix format calls as suggested by vet 2015-01-14 14:12:03 -08:00
authchallenge.go Adds support for v2 registry login 2015-01-15 14:04:14 -08:00
config.go Allow private V2 registry endpoints 2015-01-15 14:05:05 -08:00
config_test.go Deprecating ResolveRepositoryName 2015-01-08 20:14:58 +00:00
endpoint.go Split API Version header when checking for v2 2015-01-21 15:08:32 -08:00
endpoint_test.go Split API Version header when checking for v2 2015-01-21 15:08:32 -08:00
httpfactory.go registry.Registry -> registry.Session 2014-08-13 09:27:43 -04:00
MAINTAINERS update go import path and libcontainer 2014-07-24 22:19:50 +00:00
registry.go Moving NewIndexInfo, NewRepositoryInfo and associated helpers into config.go 2015-01-08 20:15:00 +00:00
registry_mock_test.go Deprecating ResolveRepositoryName 2015-01-08 20:14:58 +00:00
registry_test.go Moving NewIndexInfo, NewRepositoryInfo and associated helpers into config.go 2015-01-08 20:15:00 +00:00
service.go Adds support for v2 registry login 2015-01-15 14:04:14 -08:00
session.go Adds support for v2 registry login 2015-01-15 14:04:14 -08:00
session_v2.go Open up v2 http status code checks for put and head checks 2015-01-27 18:09:53 -08:00
token.go Update token response handling 2015-01-15 14:05:05 -08:00
types.go Adds support for v2 registry login 2015-01-15 14:04:14 -08:00