Skip to content

Conversation

@agix
Copy link

@agix agix commented Mar 18, 2022

Zip format doesn't allow real unzipping from a stream as it starts from the end and you can't really know the end of a stream.

Nevertheless, it doesn't mean you absolutely need the entire zip on your disk.

As long as you know the size of the zip file, and you are able to read part of it based on offset, it can be unzipped without touching the disk.

This PR aim to provide this feature from HTTP(S) server supporting Range header:

https://developer.mozilla.org/en-US/docs/Web/HTTP/Range_requests

The server should also respond the size of the file via HEAD request in Content-length response header (which is pretty standard).

@tsibley
Copy link

tsibley commented Jan 6, 2023

I'd like to see this feature!

antoinelyset and others added 2 commits December 17, 2024 10:46
* fix: Deduplicate entries

* fix: Deduplicate entries first
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.

4 participants