Skip to content

Commit 4da9cac

Browse files
authored
chore(supplemental-docs): md5 fallback for DeleteObjects update (#6932)
* chore(supplemental-docs): md5 fallback for DeleteObjects update * chore(supplemental-docs): line-wrap md * chore(supplemental-docs): links * chore(supplemental-docs): minor nit
1 parent 534fb57 commit 4da9cac

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

supplemental-docs/MD5_FALLBACK.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
## Background
44

5-
In AWS SDK for JavaScript [v3.729.0](https://github.com/aws/aws-sdk-js-v3/releases/tag/v3.729.0),
6-
we shipped a feature that [changed default object integrity in
7-
S3](https://github.com/aws/aws-sdk-js-v3/issues/6810). The SDKs now default to using more modern
8-
checksums (like CRC32) to ensure object integrity, whereas previously MD5 checksums were being used.
9-
Some third-party S3-compatible services currently do not support these checksums. To our knowledge,
10-
this affects only the S3 `DeleteObjects` operation.
11-
5+
In AWS SDK for JavaScript [v3.729.0](https://github.com/aws/aws-sdk-js-v3/releases/tag/v3.729.0), we
6+
shipped a feature that [changed default object integrity in S3](https://github.com/aws/aws-sdk-js-v3/issues/6810).
7+
The SDKs now default to using more modern checksums (like CRC32) to ensure object integrity, whereas
8+
previously MD5 checksums were being used. Some third-party S3-compatible services currently do not
9+
support these checksums and require MD5 checksums. Furthermore, the [DeleteObjects operation in S3
10+
requires a Content-MD5 request header](https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObjects.html)
11+
in which case too, you should use the MD5 fallback as noted below.
1212
If you wish to fallback to the old behavior of sending MD5 checksums, for operations like
1313
`DeleteObjectsCommand` this is how you can do it in AWS SDK for JavaScript v3:
1414

0 commit comments

Comments
 (0)