aws/aws-sdk-cpp

How to disable Content-MD5 header with S3 PutObject request

jmklix opened this issue · 1 comments

Discussed in #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

@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.