Hashes are no longer returned for partial downloads #266
Labels
api: storage
Issues related to the googleapis/python-storage API.
needs more info
This issue needs more information from the customer to proceed.
priority: p2
Moderately-important priority. Fix may not be included in next release.
#204 Changed behavior for hashes for partial downloads.
When a partial request is made, we do not return the 'X-Goog-Hash' headers. As a result,
blob.py:812 overwrites the
blob.crc32c
value with its default,None
.blob.py:813 overwrites the
blob.md5_hash
value with its default,None
.Environment details
python --version
: 3.7.3, 3.8.2pip --version
18.1google-cloud-storage
version:pip show google-cloud-storage
1.30+Steps to reproduce
blob.download_to_filename(start=0)
blob.md5_hash
andblob.crc32c
areNone
.Code example
The text was updated successfully, but these errors were encountered: