Skip to content

create_multipart_upload does not publish content-length #1008

@allada

Description

@allada

Describe the bug

Some S3 API providers require the content-length header to be published when using the S3 API and create_multipart_upload(). Specifically GCP is an example of this, therefore it is not possible to use aws-sdk-rust with GCP.

Expected Behavior

create_multipart_upload() should send a content-length header.

Current Behavior

content-length header is not published.

Reproduction Steps

Try to use the create_multipart_upload() with GCP's API.

Possible Solution

No response

Additional Information/Context

Possible more context: TraceMachina/nativelink#491

Version

aws-sdk-s3 = "0.35.0"

Environment details (OS name and version, etc.)

N/A

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    response-requestedWaiting on additional info and feedback. Will move to 'closing-soon' in 7 days.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions