Skip to content

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

Closed
Chenjp wants to merge 1 commit intoapache:mainfrom
Chenjp:fix_multipart_range_len
Closed

fix multipart/byteranges response body - length attri of ContentRange#780
Chenjp wants to merge 1 commit intoapache:mainfrom
Chenjp:fix_multipart_range_len

Conversation

@Chenjp
Copy link
Copy Markdown
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
Copy Markdown
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