tustvold commented on PR #5222: URL: https://github.com/apache/arrow-rs/pull/5222#issuecomment-1877162891
I think the use-case of "give me up to the first 100 bytes" is a perfectly valid use-case, and is even called out in the HTTP spec. I therefore don't think we can/should break this if it is currently supported. > consistent with cases where a user uses a Range to slice into a resource Although one could argue the lack of support for zero-length ranges also breaks this :sweat_smile: > users have to find the intersection between what they wanted and what they got every time they request a range Only if they don't know the size of the object they are requesting data from, otherwise the behaviour is no different from master? Sure an API could return less, much like it could also return gibberish, at some point you just have to trust that the servers implement the spec correctly -- 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]
