Closed
Description
There is currently no way to specify Content-Type when using Pre-Signed URLs.
If one is specified, it throws the error:
SignatureDoesNotMatch
The request signature we calculated does not match the signature you provided. Check your Secret Access Key and signing method. For more information, see REST Authentication and SOAP Authentication for details.
I assume this is because no Content-Type was set when the URL was generated. But there is support for this in the ECS S3 Java SDK.
There is support for it in the AWS S3 SDK explained here
Specifically withContentType(String contentType)
It would be great is this functionality was added, as we could then lock down the Content-Type with our pre-signed URLs.
Metadata
Metadata
Assignees
Labels
No labels