Skip to content

Specific Content-Type support for PresignedUrlRequest  #6

Closed
@starr749

Description

@starr749

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions