Add a `contentType` parameter for `uploadFile` and `uploadFileMultipart`
Closed this issue · 1 comments
max-peroch commented
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
max-peroch commented
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?