Skip to content

Support range header to support partial downloads - #24

Open
blmarket wants to merge 1 commit into
dvonlehman:masterfrom
blmarket:master
Open

Support range header to support partial downloads#24
blmarket wants to merge 1 commit into
dvonlehman:masterfrom
blmarket:master

Conversation

@blmarket

Copy link
Copy Markdown

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

blmarket commented Dec 16, 2020

Copy link
Copy Markdown
Author

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