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

Merged

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]>
@flavio flavio merged commit 41b43fe into oras-project:main Oct 7, 2024
5 checks passed
flavio added a commit to flavio/rust-oci-client that referenced this pull request Oct 7, 2024
== What's Changed
* client: add support to set https_proxy/no_proxy for client by @Xynnn007 in oras-project#160
* chore(deps): Update testcontainers requirement from 0.20 to 0.22 by @dependabot in oras-project#161
* Docs.rs badge, update crate name. by @bddap in oras-project#166
* chore(deps): Bump actions/checkout from 4.1.7 to 4.2.0 by @dependabot in oras-project#170
* chore(deps): Update testcontainers requirement from 0.22 to 0.23 by @dependabot in oras-project#169
* chore(deps): Update rstest requirement from 0.22.0 to 0.23.0 by @dependabot in oras-project#168
* Allow doing start-end RANGE requests against blobs by @thundergolfer in oras-project#163
* fix(client): Return the digest header for partial responses by @thomastaylor312 in oras-project#171
* remove reference by @flavio in oras-project#164

== New Contributors
* @bddap made their first contribution in oras-project#166
* @thundergolfer made their first contribution in oras-project#163

**Full Changelog**: oras-project/rust-oci-client@v0.12.1...v0.13.0

Signed-off-by: Flavio Castelli <[email protected]>
@flavio flavio mentioned this pull request Oct 7, 2024
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.

2 participants