This illustrates issue #537 and #536 with Amazonka and S3 API.
brendanhay/amazonka#537 brendanhay/amazonka#536
This should suffice to replicate issue:
- Install Haskell Stack:
curl -sSL https://get.haskellstack.org/ | sh git clone https://github.com/mgajda/aws-empty-content-encoding-issue.gitcd aws-empty-content-encoding-issuestack buildstack run
Check that metadata for the new file is Content-Encoding: (empty string).