Kami commented on issue #1431: Add new base storage API methods for partial 
(range) object downloads
URL: https://github.com/apache/libcloud/pull/1431#issuecomment-589938604
 
 
   I've added test cases, etc.
   
   First I used 1-base indexing, but then I decided to use 0 based one, so it's 
consistent with Python string / list indexing behavior. (aka 
``content[start_bytes:end_bytes]``). This way first index is ``0`` and last one 
is ``len(obj_content)``.
   
   And it appears it also works in that manner with the S3 provider.
   
   If that's not the case for some other provider, we will need to handle that 
inside that provider driver to expose a consistent API to our users.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to