aws / aws-sdk

Landing page for the AWS SDKs on GitHub
https://aws.amazon.com/tools/
Other
68 stars 13 forks source link

Add `ContentType` to S3 `UploadPartRequest` #548

Closed tim-finnigan closed 1 year ago

tim-finnigan commented 1 year ago

Original issue: https://github.com/boto/boto3/issues/3708

tim-finnigan commented 1 year ago

P90665777

lskuper commented 1 year ago

This is a blocker for us. Our http-request client does by default add a contentType header which leads to SignatureDoesNotMatch errors.

We are using aws-sdk to generate presigned urls for multi-part uploads the following way:

      s3.("uploadPart", {
        Bucket: bucket,
        Key: key,
        Expires: expiresInS,
        UploadId: uploadId,
        PartNumber: partNo,
        // "ContentType": contentType, // not allowed by aws-sdk
      })

Allowing to specify a contentType for presigned url generation would solve it, is there any reason against it?

"aws-sdk": "2.1406.0",

tim-finnigan commented 1 year ago

We heard back from the S3 team and they created a backlog item for this feature request. We can't provide any ETAs or guarantees as to if or when this would be implemented. We recommend reaching out through AWS Support for updates in the future if you have a support plan, otherwise feel free to check back in here as well.

github-actions[bot] commented 1 year ago

This issue is now closed.

Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.

pjaol commented 4 months ago

Hey what's the deal with this, it's breaking browser uploads to S3 Please escalate it.