so, I’m trying to upload css file to Tigris cloud storage but the file content type is always saved as application/octet-stream even if I set content_type: "text/css" when uploading file. Do you have any idea on how to handle this properly?
defp upload_css_to_cloud(source, dest) do
bucket()
|> ExAws.S3.put_object(dest, File.read!(source), content_type: "text/css")
|> ExAws.request()
end
I doesn’t unfortunately, both Claude and ChatGPT offered multiple solutions, but no matter which one I try, CSS file always ends up having application/octet-stream as a content type.