aws / aws-sdk-cpp

AWS SDK for C++
Apache License 2.0
1.98k stars 1.06k forks source link

How to disable Content-MD5 header with S3 PutObject request #2933

Open jmklix opened 7 months ago

jmklix commented 7 months ago

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 commented 7 months ago

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

rohansuri commented 1 month ago

@jmklix any updates on this?

jmklix commented 1 month ago

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