Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Fix UploadBlob() and PutManifest() in case of token authentication #60

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

kispaljr
Copy link

@kispaljr kispaljr commented Nov 9, 2018

Fixes issue #8.
As explained in the issue, UploadBlob() is not working properly in case of token authentication. More precisely it cannot resend the request after the 401 Unauthorized response, because the Body (content reader) is not reusable.

…set the DRC_TEST_DOCKERHUB_USERNAME and DRC_TEST_DOCKERHUB_PASSWORD environment variables to reflect valid DockerHub credentials.
@kispaljr kispaljr mentioned this pull request Nov 13, 2018
@kispaljr kispaljr changed the title Fix UploadBlob() in case of token authentication Fix UploadBlob() and PutManifest() in case of token authentication Nov 13, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant