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

fix StaticHandler process http ranges header bug#140

Closed
fznply wants to merge 1 commit into
vibora-io:masterfrom
fznply:bug-static-handler
Closed

fix StaticHandler process http ranges header bug#140
fznply wants to merge 1 commit into
vibora-io:masterfrom
fznply:bug-static-handler

Conversation

@fznply

@fznply fznply commented Jul 16, 2018

Copy link
Copy Markdown

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
Copy Markdown
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

fznply commented Jul 16, 2018

Copy link
Copy Markdown
Author

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