heroku / docker-registry-client

A Go API client for the v2 Docker Registry API
BSD 3-Clause "New" or "Revised" License
297 stars 225 forks source link

Replace basic auth with bearer #4

Closed glasser closed 8 years ago

glasser commented 8 years ago

I found that this was necessary to get it to work with registry-1.docker.io.

Otherwise it sends two Authorization headers, one Basic and one Bearer, and I think the server only looks at the first.

ojacobson commented 8 years ago

Nice find!