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

Use context.File for unencrypted downloads #62

Merged
merged 1 commit into from
Feb 27, 2018

Conversation

tribut
Copy link
Contributor

@tribut tribut commented Feb 26, 2018

This is faster than io.copy, allows the clients to show progress (emits the Content-Length header) and enables resuming (supports the Range header - cf #28).

This commit also reduces the amount of duplicated code between View() and Head().

This is faster than io.copy, allows the clients to show progress (emits
the Content-Length header) and also enables resuming (supports the Range
header - cf Depado#28).

This commit also reduces the amount of duplicated code between View()
and Head().
@Depado Depado merged commit ff9eba4 into Depado:master Feb 27, 2018
@Depado
Copy link
Owner

Depado commented Feb 27, 2018

thanks

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.

None yet

2 participants