Skip to content

fix(cachedStreamFetcher): avoid double download#736

Merged
floryst merged 1 commit intoKitware:mainfrom
PaulHax:fix-content-range
May 7, 2025
Merged

fix(cachedStreamFetcher): avoid double download#736
floryst merged 1 commit intoKitware:mainfrom
PaulHax:fix-content-range

Conversation

@PaulHax
Copy link
Collaborator

@PaulHax PaulHax commented May 6, 2025

When the entire stream finished but had no Content-Length header, treat full cache as total length.

Girder does not set Content-Length header in its response and we were fetching the entire stream twice.

When the entire stream finished but had no Content-Length header, treat full cache as total length.

Girder does not set Content-Length header in its response and we were fetching the entire stream twice.
@netlify
Copy link

netlify bot commented May 6, 2025

Deploy Preview for volview-dev ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 36ce276
🔍 Latest deploy log https://app.netlify.com/sites/volview-dev/deploys/681a5892a8b94500082afaff
😎 Deploy Preview https://deploy-preview-736--volview-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

@floryst floryst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching that!

@floryst floryst added this pull request to the merge queue May 7, 2025
Merged via the queue into Kitware:main with commit 4cf7ef4 May 7, 2025
7 checks passed
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