Merge lp:~andyxu/goamz/goamz into lp:goamz
Proposed by
AndyXu
Status: | Needs review |
---|---|
Proposed branch: | lp:~andyxu/goamz/goamz |
Merge into: | lp:goamz |
Diff against target: |
93 lines (+28/-7) 2 files modified
aws/sign.go (+3/-0) s3/s3.go (+25/-7) |
To merge this branch: | bzr merge lp:~andyxu/goamz/goamz |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
goamz maintainers | Pending | ||
Review via email: mp+237737@code.launchpad.net |
Commit message
Fix SignV4 method for S3
Description of the change
The SignV4 method which is implemented in the last commit was not called by S3, therefore this library will not work for Amazon S3 if you choose to use SignV4 Algorithm.
The S3 object is already implemented as 'Signer' interface in the last commit, so in stead of using signing function inside S3 package, method 'Sign' is called now(line 82 and 90 in the diff).
Note that the 'x-amz-date' and 'x-amz-
This commit is tested against a S3 instance in mainland China.
To post a comment you must log in.
All interfaces in the library were not touched at all, just fixed the internal logic(see line 82 and 90 in the diff.)