Skip to content

fix multipart/byteranges response body - length attri of ContentRange #780

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

Closed
wants to merge 1 commit into from

Conversation

Chenjp
Copy link
Contributor

@Chenjp Chenjp commented Nov 18, 2024

content-range of partial content: length is the target resource full content length.

    ostream.println("Content-Range: bytes " + start + "-" + end + "/" + length);

add parameters set to cover this issue.

content-range of partial: start-end/(end-start) -> start-end/length
@rmaucher
Copy link
Contributor

Merged in main, 11 and 10.1. Test case added to 9.0.

@rmaucher rmaucher closed this Nov 18, 2024
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.

2 participants