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

Support range header to support partial downloads #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

blmarket
Copy link

Range header is important to support download resume and media
streaming. As GetObject supports Range, this commit proxy the range
header from the request to Range parameter of the GetObject.

Also found some non-ascii filename caused header to be broken. Added
another option to suppress passing the proxied file path.

Range header is important to support download resume, and media
streaming. As (GetObject supports Range)[1], this commit proxy the range
header from the request to Range parameter of the GetObject.

Also found some non-ascii filename caused header to be broken. Added
another option to suppress passing the proxied file path.

[1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html#API_GetObject_RequestSyntax
@blmarket
Copy link
Author

blmarket commented Dec 16, 2020

If other folks want to try this change before this commit gets merged, use npm i git+https://github.com/blmarket/s3-proxy.git on your project.

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