libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [libcloud] Kami opened a new pull request #1547: Fix a bug with edge-case in get_object() method in Google Storage Driver
Date Fri, 22 Jan 2021 17:04:31 GMT

Kami opened a new pull request #1547:
URL: https://github.com/apache/libcloud/pull/1547


   This pull request fixes issue reported in #1544.
   
   ## Background, Context
   
   In some scenarios, Google Storage S3 compatible API returns object size in ``x-goog-stored-content-length``
header of in ``content-length`` one.
   
   Before this change, our code didn't correctly handle this case. updated the code so ``object.size``
attribute populated in ``get_object()`` is an integer and not a string - this way it's consistent
with ``list_objects()`` method.
   
   As part of this PR, I also
   
   ## Thanks
   
   Thanks to @RunOrVeith for reporting this issue.


----------------------------------------------------------------
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:
users@infra.apache.org



Mime
View raw message