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

Todo: add multi-range support #9

Open
glebec opened this issue Jun 1, 2016 · 0 comments
Open

Todo: add multi-range support #9

glebec opened this issue Jun 1, 2016 · 0 comments

Comments

@glebec
Copy link
Owner

glebec commented Jun 1, 2016

Currently send-seekable only supports single range requests (e.g. bytes=2845-8473 or similar). A server accepting range requests is supposed to handle multi-range requests too (bytes=128-932,1043-2834 or similar). This puts send-seekable in the awkward position of throwing an error on such requests.

The most fundamental limitation preventing this, for now, is the reliance on the range-stream package. If that limitation can be overcome, remember to use range-parser's new (as of v1.2) feature of combining multiple overlapping ranges into single ranges. Also note that multiple ranges can be requested out of order.

@glebec glebec assigned glebec and unassigned glebec Jun 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant