paraseba opened a new pull request, #5415: URL: https://github.com/apache/arrow-rs/pull/5415
S3 API [specification](https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObjects.html) requires the presence of this header for all `DeleteObjects` requests to general purpose buckets: > The Content-MD5 request header is required for all Multi-Object Delete requests Some platforms, such as MinIO, enforce this requirement, rejecting requests that don't include the header. I have successfully tested the change locally against MinIO. ## What changes are included in this PR? - Add an optional dependency on [md5 crate](https://crates.io/crates/md5) - Make that dependency part of the aws feature - Include the `Content-MD5` header unconditionally for all `DeleteObjects` requests - No changes to any other checksums in the operation No breaking changes, platforms not interested in the header will ignore it. Closes #5414 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
