Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

content-length is incorrect when requested range.end is larger than the actual content-length #5

wants to merge 1 commit into


None yet
2 participants

mtsr commented Aug 8, 2012

Fixed by taking the minimum of requested range.end and actual content-length (-1)


tj commented Aug 8, 2012

test please :D

mtsr commented Aug 9, 2012

Ah, so this problem has been fixed since send was extracted. It's quite non-obvious, though, being done in the range-parser.

@mtsr mtsr closed this Aug 9, 2012

@sebs sebs pushed a commit to sebs/send that referenced this pull request Jan 26, 2013

Sebastian Schürmann Fixing issue #5 35a742b

@tj tj added a commit that referenced this pull request Jan 26, 2013

@tj tj Merge pull request #15 from sebs/master
More docs and #5 closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment