Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
jmklix opened this issue Apr 19, 2024 Discussed in #2926 · 5 comments
Closed

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

jmklix opened this issue Apr 19, 2024 Discussed in #2926 · 5 comments
Labels
feature-request A feature should be added or improved. p3 This is a minor priority issue

Comments

@jmklix
Copy link
Member

jmklix commented Apr 19, 2024

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

@jmklix jmklix added feature-request A feature should be added or improved. p3 This is a minor priority issue labels Apr 19, 2024
@jmklix
Copy link
Member Author

jmklix commented Apr 19, 2024

@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
Copy link

@jmklix any updates on this?

@jmklix
Copy link
Member Author

jmklix commented Oct 2, 2024

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

@sbiscigl
Copy link
Contributor

hey sorry for the delay, you can read about the changes in checksumming behavior in #3253

we also updated some documentation on how this can be achieved, please reference "An API that has checksum when supported and you wish to send no checksum at all with the request" section on how to disable object integrity checks all together, however it is not recommended.

resolving, let us know if you have any more questions.

Copy link

This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A feature should be added or improved. p3 This is a minor priority issue
Projects
None yet
Development

No branches or pull requests

3 participants