Skip to content

bug: S3 multipart upload doesn't respect content encoding #7273

@dentiny

Description

@dentiny

Describe the bug

According to the doc, Content-Encoding is part of the request header.

It seems to be set for plain PUT: here and here

But I don't see the field set for multipart upload initialization https://github.com/apache/opendal/blob/main/core/services/s3/src/core.rs#L785

Steps to Reproduce

N/A

Expected Behavior

Both plain put and multipart upload should have content encoding properly set.

Additional Context

No response

Are you willing to submit a PR to fix this bug?

  • Yes, I would like to submit a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingreleases-note/fixThe PR fixes a bug or has a title that begins with "fix"services/s3

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions