distribution/registry/api/errcode
Aaron Lehmann ec636bbfd2 Handle nonstandard token endpoint errors
https://github.com/docker/distribution/pull/1249 changed token fetching
to parse HTTP error response bodies as serialized errcodes. However,
Docker Hub's authentication endpoint does not return error bodies in
this format. To work around this, convert its format into
ErrCodeUnauthorized or ErrCodeUnknown.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2016-01-20 14:45:08 -08:00
..
errors.go Handle nonstandard token endpoint errors 2016-01-20 14:45:08 -08:00
errors_test.go More consistent return from ErrorCode.Error() 2015-08-20 17:36:24 -07:00
handler.go Export ServeJSON for serving error codes 2015-07-16 12:14:14 -07:00
register.go [api spec] Update authN and authZ errors 2015-09-30 09:12:31 -07:00