Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(client): Return the digest header for partial responses #171

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

thomastaylor312
Copy link
Contributor

In #163 it was pointed out that we can't use validating streams for partial responses, which makes complete sense. Because of this, we need to pass back the digest header for use in validation once a partial download is complete.

This also fixes a few clippy errors I saw

In oras-project#163 it was pointed out that we can't use validating streams for
partial responses, which makes complete sense. Because of this, we need
to pass back the digest header for use in validation once a partial
download is complete

Signed-off-by: Taylor Thomas <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant