James
> --
> You received this message because you are subscribed to the Google Groups "JetS3t Users" group.
> To post to this group, send email to jets3t...@googlegroups.com.
> To unsubscribe from this group, send email to jets3t-users...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/jets3t-users?hl=en.
>
>
S3 expects the signed URL to include all the parameters it sees when
it receives the request. So try appending the extra parameter before
you call S3Service#createSignedGetUrl.
I have applied a fix for this:
https://bitbucket.org/jmurty/jets3t/changeset/06fa45d3ee4e
To correctly sign a request of this kind you will need to use the
#createSignedUrl signing method and pass in the extra parameters as
the "specialParamName" argument, like so:
String signedGetUrl = s3Service.createSignedUrl("GET",
bucketName, objectName,
"response-content-type=text/plain&response-content-encoding=latin1",
null, // No headers
(expiryDate.getTime() / 1000) // Expiry time after
epoch in seconds
);
Hope this helps,
James