Quantcast
Channel: Chilkat Forum - latest questions
Viewing all articles
Browse latest Browse all 1061

Override content-type on a S3 presigned URL

$
0
0

Hello,

Is there a way to specify an override for the content-type when generating a S3 presigned URL ?. I'm using the Delphi_DLL.

Amazon supports these overrides, as you can see in this blog : https://www.bennadel.com/blog/2696-overriding-content-type-and-content-disposition-headers-in-amazon-s3-pre-signed-urls.htm

But if I add &response-content-type=application/pdf to the URL generated by Chilkat Dll, it says that "The request signature we calculated does not match the signature you provided. Check your key and signing method."

I need it because I have several thousands of PDF files on S3 that I didn't specify a content-type when I uploaded them.

Thank you


Viewing all articles
Browse latest Browse all 1061

Trending Articles