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

Add HTTP range headers to FileResponse #2367

Closed
wants to merge 3 commits into from
Closed

Conversation

Kludex
Copy link
Member

@Kludex Kludex commented Dec 10, 2023

WIP

units, range_ = http_range.split("=", 1)
units = units.strip().lower()

if units != "bytes":
Copy link
Member Author

@Kludex Kludex Dec 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If other unit is provided, should error for the time being.

@Kludex Kludex mentioned this pull request Dec 10, 2023
3 tasks
@Kludex
Copy link
Member Author

Kludex commented Dec 16, 2023

Closing it for now.

@Kludex Kludex closed this Dec 16, 2023
@Kludex Kludex deleted the file-response-range branch January 20, 2024 21:23
@Kludex Kludex restored the file-response-range branch September 22, 2024 15:29
@Kludex Kludex reopened this Sep 22, 2024
@Kludex Kludex closed this Sep 22, 2024
@Kludex Kludex deleted the file-response-range branch September 22, 2024 15:35
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.

1 participant