Skip to content

Missing Content-MD5 http header for put request on object with bucket defined Lock #1177

@r0ro

Description

@r0ro

When an aws s3 bucket is configured with Object Lock in order to benefit from WORM feature the upload
cf: https://aws.amazon.com/fr/blogs/storage/protecting-data-with-amazon-s3-object-lock/

the upload fails with the following error:

Content-MD5 HTTP header is required for Put Object requests with Object Lock parameters

Is there a way add Content-MD5 header to the request ?

I could have used --add-header=NAME:VALUE but since I'm using built in gpg encryption, I can't compute the md5 before running the command.

Any idea ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions