tustvold commented on PR #5222:
URL: https://github.com/apache/arrow-rs/pull/5222#issuecomment-1876772516

   Interestingly the [spec](https://www.rfc-editor.org/rfc/rfc9110#byte.ranges) 
has the following to say
   
   > A client can limit the number of bytes requested without knowing the size 
of the [selected 
representation](https://www.rfc-editor.org/rfc/rfc9110#selected.representation).
 If the [last-pos](https://www.rfc-editor.org/rfc/rfc9110#rule.int-range) value 
is absent, or if the value is greater than or equal to the current length of 
the representation data, the byte range is interpreted as the remainder of the 
representation (i.e., the server replaces the value of 
[last-pos](https://www.rfc-editor.org/rfc/rfc9110#rule.int-range) with a value 
that is one less than the current length of the selected representation).
   
   Which would imply that the logic in this PR is still overly strict


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to