-
Notifications
You must be signed in to change notification settings - Fork 12
uploadObjectFromSink support resending data on non-matching range headers #218
Copy link
Copy link
Open
Labels
api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.Important issue which blocks shipping the next release. Will be fixed prior to next release.
Description
Currently uploadObjectFromSink assumes that a 308 return indicates that all data was accepted.
From https://docs.cloud.google.com/storage/docs/performing-resumable-uploads#chunked-upload:
Repeat the above steps for each remaining chunk of data that you want to upload, using the upper value contained in the Range header of each response to determine where to start each successive chunk; you should not assume that the server received all bytes sent in any given request.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.Important issue which blocks shipping the next release. Will be fixed prior to next release.
Type
Projects
Status
Backlog