Skip to content

PutObjectResult contentMd5 equivalent in version 2? #3313

Discussion options

You must be logged in to vote

HI @ghoshrahul apologies for losing track of this.

The Java SDK v2 S3 Client does not calculate the Content-MD5 by default anymore. It only calculates it when it's required by the API, like DeleteObject.

We do have a feature request to automatically add Content-MD5 in PutObject in the specific case when the bucket retention policy is enabled - #2155.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by debora-ito
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 10 days.
2 participants