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

Implement Byte Range requests for file content downloads #95

Closed
jmoldow opened this issue Dec 14, 2015 · 1 comment
Closed

Implement Byte Range requests for file content downloads #95

jmoldow opened this issue Dec 14, 2015 · 1 comment
Assignees

Comments

@jmoldow
Copy link
Contributor

jmoldow commented Dec 14, 2015

Downloading files from the API supports the Range header (https://box-content.readme.io/reference#download-a-file) from RFC 7233 (http://tools.ietf.org/html/rfc7233). The content() and download_to() methods should be enhanced to allow for Range requests.

The Box API only supports a subset of RFC 7233, but it'd be nice to build this in such a way that it'd be backwards compatible for the SDK to enable the full RFC 7233 spec, if Box ever began to support the full spec.

An initial proposal was presented in #56. I've begun work on a more extendable and Pythonic proposal.

@jmoldow jmoldow self-assigned this Dec 14, 2015
@mattwiller
Copy link
Contributor

As documented here, the byte_range option has been added to the file download methods.

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

2 participants