vibora icon indicating copy to clipboard operation
vibora copied to clipboard

fix StaticHandler process http ranges header bug

Open fznply opened this issue 6 years ago • 1 comments

support ranges as below: Range: bytes=0-499 // from 0 to 499, total 500 bytes Range: bytes=-500 // the last 500 bytes Range: bytes=500- // from 500th to the last, include the last byte Range: bytes=500-500 // the 500th, total 1 byte

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

fznply avatar Jul 16 '18 09:07 fznply

https://circleci.com/gh/vibora-io/vibora/225?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link

Please fix your code style issue.

danieldaeschle avatar Jul 16 '18 09:07 danieldaeschle