clbarnes commented on PR #5222: URL: https://github.com/apache/arrow-rs/pull/5222#issuecomment-1877199137
> I think the use-case of "give me up to the first 100 bytes" is a perfectly valid use-case Got it, I'll see if I can get that done this afternoon. > Although one could argue the lack of support for zero-length ranges also breaks this 😅 True, although there is no way to express "return a zero-length slice of bytes" in the HTTP spec because it's right-inclusive. We could bodge it with a HEAD request to fill out the `ObjectMeta` and then an empty `Bytes` but that's highly unlikely to be what the user wanted. -- 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]
