I was trying to manually set ResponseContentType and ResponseContentDisposition in the GetObjectCommand (using @aws-sdk/client-s3 and @aws-sdk/s3-request-presigner) but they seem to have been ignored — the content type and disposition used during the upload were returned instead.
Does Tigris have support for these?
From the AWS docs:
The response headers that you can override for the
GetObjectresponse areCache-Control,Content-Disposition,Content-Encoding,Content-Language,Content-Type, andExpires.To override values for a set of response headers in the
GetObjectresponse, you can use the following query parameters in the request.
response-cache-controlresponse-content-dispositionresponse-content-encodingresponse-content-languageresponse-content-typeresponse-expires