Skip to content

Conversation

@peterhuene
Copy link
Contributor

The previous PR removed the x-cache-digest header in all responses.

It should have limited the removal to just the times when the cached body isn't being served from the cache. The other instances where we are serving the body from the cache can set the header.

Additionally, this updates the http-cache-semantics dependency to go back to the upstream crate that doesn't support 206 responses.

Given the complexity and narrow scope of supporting very specific ranged requests, it wasn't worth the trouble of implementing it.

The previous PR removed the `x-cache-digest` header in all responses.

It _should_ have limited the removal to just the times when the cached body
isn't being served from the cache. The other instances where we are serving the
body from the cache can set the header.

Additionally, this updates the `http-cache-semantics` dependency to go back to
the upstream crate that doesn't support 206 responses.

Given the complexity and narrow scope of supporting very specific ranged requests,
it wasn't worth the trouble of implementing it.
@peterhuene peterhuene merged commit 210b734 into stjude-rust-labs:main Aug 15, 2025
7 checks passed
@peterhuene peterhuene deleted the fixes branch August 15, 2025 16:50
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