distribution/docs
Josh Hawn 63af81b883 Fix token basic auth header issue
When requesting a token, the basic auth header is always being set even
if there is no username value. This patch corrects this and does not set
the basic auth header if the username is empty.

Also fixes an issue where pulling all tags from a v2 registry succeeds
when the image does not actually exist on the registry.

Docker-DCO-1.1-Signed-off-by: Josh Hawn <josh.hawn@docker.com> (github: jlhawn)
2015-01-31 15:12:34 -08:00
..
v2 Remove dependencies on registry packages 2015-01-15 14:05:05 -08:00
auth_test.go Fix format calls as suggested by vet 2015-01-14 14:12:03 -08:00
auth.go Merge pull request #9784 from dmcgowan/v2-registry 2015-01-19 10:46:38 -08:00
authchallenge.go Adds support for v2 registry login 2015-01-15 14:04:14 -08:00
config_test.go Deprecating ResolveRepositoryName 2015-01-08 20:14:58 +00:00
config.go Allow private V2 registry endpoints 2015-01-15 14:05:05 -08:00
endpoint_test.go Split API Version header when checking for v2 2015-01-21 15:08:32 -08:00
endpoint.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_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
registry.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_v2.go Fix token basic auth header issue 2015-01-31 15:12:34 -08:00
session.go Adds support for v2 registry login 2015-01-15 14:04:14 -08:00
token.go Fix token basic auth header issue 2015-01-31 15:12:34 -08:00
types.go Adds support for v2 registry login 2015-01-15 14:04:14 -08:00