[
https://issues.apache.org/jira/browse/JCLOUDS-726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Gaul updated JCLOUDS-726:
--------------------------------
Labels: s3 (was: )
> RequestAuthorizeSignature does not combine header fields with the same name
> into one
> ------------------------------------------------------------------------------------
>
> Key: JCLOUDS-726
> URL: https://issues.apache.org/jira/browse/JCLOUDS-726
> Project: jclouds
> Issue Type: Bug
> Components: jclouds-blobstore, jclouds-compute
> Affects Versions: 1.7.2
> Reporter: Maciej Przewoźnik
> Labels: s3
>
> http://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html states
> that while constructing the CanonicalizedAmzHeaders element, header fields
> with the same name must be combined into one.
> However,
> the following string to sign was computed by jclouds for "Example Upload"
> request from
> http://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html :
> {noformat}
> PUT
> 4gJE4saaMU4BqNR0kLY+lw==
> application/x-download
> Tue, 27 Mar 2007 21:06:08 +0000
> x-amz-acl:public-read
> x-amz-meta-checksumalgorithm:crc32
> x-amz-meta-filechecksum:0x02661779
> x-amz-meta-reviewedby:[email protected]
> x-amz-meta-reviewedby:[email protected]
> /static.johnsmith.net/db-backup.dat.gz
> {noformat}
> The expected string to sign is:
> {noformat}
> PUT
> 4gJE4saaMU4BqNR0kLY+lw==
> application/x-download
> Tue, 27 Mar 2007 21:06:08 +0000
> x-amz-acl:public-read
> x-amz-meta-checksumalgorithm:crc32
> x-amz-meta-filechecksum:0x02661779
> x-amz-meta-reviewedby:[email protected],[email protected]
> /static.johnsmith.net/db-backup.dat.gz
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)