laserdisc-io/fs2-aws

Add a `contentType` parameter for `uploadFile` and `uploadFileMultipart`

Closed this issue · 1 comments

Hello,

Would you be open to adding a contentType parameter for uploadFile and uploadFileMultipart ?

It would then need to be passed through:

  • CreateMultipartUploadRequest
  • PutObjectRequest

I believe that the default value is binary/octet-stream.

Happy to open a PR if that works for you!

Thanks,
Max

I actually took a closer look at the code and realized that using AwsRequestModifier.Upload1 and AwsRequestModifier.MultipartUpload might be the preferred way, is that correct?