Checksums are validated for partial responses #362
Labels
api: storage
Issues related to the googleapis/google-resumable-media-python API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Environment details
google-resumable-media
version: 2.4.0Steps to reproduce
This is hard to reproduce as the live GCS doesn't seem to send checksums for partial responses.
This fake-gcs-server however includes checksums with partial responses (HTTP status 206), which seems to be allowed according to the box here.
I would suggest skipping validation when we receive a partial response.
The text was updated successfully, but these errors were encountered: