diff options
Diffstat (limited to 'boto/auth.py')
-rw-r--r-- | boto/auth.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/boto/auth.py b/boto/auth.py index df8dcccd..0d42dd52 100644 --- a/boto/auth.py +++ b/boto/auth.py @@ -705,6 +705,10 @@ class S3HmacAuthV4Handler(HmacAuthV4Handler, AuthHandler): if self._provider.security_token: params['X-Amz-Security-Token'] = self._provider.security_token + headers_to_sign = self.headers_to_sign(req) + l = sorted(['%s' % n.lower().strip() for n in headers_to_sign]) + params['X-Amz-SignedHeaders'] = ';'.join(l) + req.params.update(params) cr = self.canonical_request(req) |