Handle response content-type

I think I am looking something similar to an option mentioned in this topic: https://connective.celigo.com/t/does-amazon-s3-transfer-support-binary-files/724