[go: up one dir, main page]

Skip to content

Ensure Content-MD5 header is included on AWS backups

What does this MR do and why?

Unlike the AWS CLI, the fog-aws gem only includes the Content-MD5 HTTP header in a PutObject call if multipart uploads are used. However, this prevents Amazon Object Lock from working because Object Lock requires some checksum to be available.

https://github.com/fog/fog-aws/issues/750 is an upstream issue to include this header by default, but to unblock backups we add it manually.

References

Relates to #335775

Screenshots or screen recordings

Before After

How to set up and validate locally

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Stan Hu

Merge request reports

Loading