aws-sdk-cpp icon indicating copy to clipboard operation
aws-sdk-cpp copied to clipboard

How to disable Content-MD5 header with S3 PutObject request

Open jmklix opened this issue 1 year ago • 3 comments

Discussed in https://github.com/aws/aws-sdk-cpp/discussions/2926

Originally posted by vbrajyaguru April 15, 2024 Hello,

I'm looking for a way to disable content verification on uploads. I'm using PutObjectRequest and set ChecksumAlgorithm::NOT_SET but the request still generated content-md5 header.

Aws SDK 1.11.293 SLES 15 SP4

jmklix avatar Apr 19 '24 16:04 jmklix

@vbrajyaguru vbrajyaguru Apr 18, 2024 Author

Yes, please consider this as feature request. We are using S3 client and using PutObjectRequest to create the PUT request. Our application has its own checksumming method to verify data integrity of the object read from the S3. We don't need data integrity protection while uploading the object to S3 and so we need some way to tell S3 client to not perform checksumming on the content.

Let me know and I can provide code samples if needed.

jmklix avatar Apr 19 '24 16:04 jmklix

@jmklix any updates on this?

rohansuri avatar Oct 01 '24 03:10 rohansuri

Sorry, but no updates as of now. It's still in our backlog

jmklix avatar Oct 02 '24 16:10 jmklix