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

Feature request: Multipart byte ranges #1416

Closed
DanRiess opened this issue Sep 15, 2022 · 2 comments
Closed

Feature request: Multipart byte ranges #1416

DanRiess opened this issue Sep 15, 2022 · 2 comments

Comments

@DanRiess
Copy link

Hey guys,
not sure if this is the right spot for this kind of question, but is it possible to allow multipart byte range requests?
Currently, if I'm not misreading your code, only one range per request is accepted and handled.

'Range: bytes=123-456' is allowed and will be processed
'Range: bytes=123-456, 789-1234' will be blocked and the whole file will be send instead

I'm using NextCloud to work with binary files that are chunked into very small parts. I only ever need about 1/3 of the files, but that third may be multiple dozens of chunks and it would be nice to be able to bundle them together instead of having to send one request per chunk.

@DeepDiver1975
Copy link
Member

Currently only a single range is supported. Thinking about the backend implementations (e.g in ownCloud and nextcloud) this can be quite challenging.

Never the less feel free to submit a PR. THX

@phil-davis
Copy link
Contributor

Looks like PR #1418 is related. Follow discussion there.

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

No branches or pull requests

3 participants