[ https://issues.apache.org/jira/browse/HDDS-10633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shih-Chieh Weng reassigned HDDS-10633: -------------------------------------- Assignee: Shih-Chieh Weng > Support Content-MD5 header for checking object integrity when uploading object > ------------------------------------------------------------------------------ > > Key: HDDS-10633 > URL: https://issues.apache.org/jira/browse/HDDS-10633 > Project: Apache Ozone > Issue Type: Sub-task > Components: S3, s3gateway > Reporter: Ivan Andika > Assignee: Shih-Chieh Weng > Priority: Major > Attachments: image-2024-04-02-16-38-12-332.png > > > See: > [https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#checking-object-integrity-md5] > Client can specify the "Content-MD5" header to verify the integrity of the > object as part of the upload process. > If the Content-MD5 does not match with the calculated md5, should throw > BadDigest. > See: [https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html] > !image-2024-04-02-16-38-12-332.png|width=474,height=61! > Since S3G already supports ETag which uses md5 hash of the object content, we > can reuse it. > Note: If there is a BadDigest, we might need to clean up the data already > written. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org For additional commands, e-mail: issues-h...@ozone.apache.org