modified to build the request correctly (file at the end)
Merge pull request #6 from marsch/topics/async-sending-for-s3-support

modified to build the request correctly (file at the end)