`AWS.S3.delete_objects` content md5 header
Opened this issue · 5 comments
AWS.S3.delete_objects
requires a content md5 header, but there seems to be no way to provide it.
I believe the following two PRs would do if done for the Elixir code @LostKobrakai are you up for porting that over and opening a PR to the codegen library? Otherwise I can try and det done time aside during the week 👍
https://github.com/aws-beam/aws-codegen/pull/92/files
https://github.com/aws-beam/aws-codegen/pull/93/files
Hmm. I still get <Message>Missing required header for this request: Content-Md5.</Message>
using this against a minio instance.
Finally, the Content-MD5 header is required for all Multi-Object Delete requests. Amazon S3 uses the header value to ensure that your request body has not been altered in transit.
That's from the docs https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObjects.html.
Not sure how/why this wouldn't be part of the codegen definitions for headers.
@LostKobrakai Since I don't have any Elixir project running at the moment, I have a hard time testing this on Elixir unfortunately 😢
I assume this is still an issue right? I'd be happy to help debug this for you but I'm gonna need a hand here... 😅