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
GetObject
response areCache-Control
,Content-Disposition
,Content-Encoding
,Content-Language
,Content-Type
, andExpires
.To override values for a set of response headers in the
GetObject
response, you can use the following query parameters in the request.
response-cache-control
response-content-disposition
response-content-encoding
response-content-language
response-content-type
response-expires