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

Awnser Range requests and stream files downloads #277

Merged
merged 1 commit into from
Oct 24, 2024

Conversation

dvdsk
Copy link
Contributor

@dvdsk dvdsk commented Oct 21, 2024

Uses NamedFile from actix_files for unencrypted files instead of reading them into memory and setting them as body.

Note the content_type is set by NamedFile now. The code for it is about identical to what was previously there.

fixes #276

Uses NamedFile from actix_files for unencrypted files instead of
reading them into memory and setting them as body.

Note the content_type is set by NamedFile now. The code for it is about
identical to what was previously there.
@szabodanika szabodanika merged commit d3a7eaf into szabodanika:master Oct 24, 2024
3 checks passed
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.

Improvement/Bug: upload/download should stream instead of reading everything into memory
2 participants