Skip to content

uploadObjectFromSink support resending data on non-matching range headers #218

@brianquinlan

Description

@brianquinlan

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: storageIssues related to the Cloud Storage API.priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions