Skip to content

Add Upload-Part-Number in the header during parallel uploads #805

@zhuangzeqiang

Description

@zhuangzeqiang

so that the server can directly specify the PartNumber during multipart uploads, instead of first writing to the object and then using a copy method


          // Add the header to indicate the this is a partial upload.
          headers: {
            ...this.options.headers,
            'Upload-Concat': 'partial',
            'Upload-Part-Number': String(index + 1),
          },

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions