Skip to content
This repository has been archived by the owner on Oct 8, 2023. It is now read-only.

fix StaticHandler process http ranges header bug #140

Closed
wants to merge 1 commit into from

Conversation

fznply
Copy link

@fznply fznply commented Jul 16, 2018

support ranges as below:
Range: bytes=0-499
Range: bytes=-500
Range: bytes=500-

fix end_pos
Content-Range: bytes {start_pos}-{end_pos}/{total_length} // end_pos <= total_length -1

@danieldaeschle
Copy link
Contributor

Maybe it is better to pull branch 0.1.0 and create a pull request to 0.1.0 instead of master. 0.1.0 contains black which formats your code.

@fznply
Copy link
Author

fznply commented Jul 16, 2018

i create a new pull request to 0.1.0 #143

@fznply fznply closed this Jul 16, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants