Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Log the S3 signature for debugging purposes.

  • Loading branch information...
commit c835004f7ca123d35174063facd82a471f8497d2 1 parent 8a95cd0
@garnaat garnaat authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 boto/auth.py
View
6 boto/auth.py
@@ -164,9 +164,9 @@ def add_auth(self, http_request, **kwargs):
boto.log.debug('StringToSign:\n%s' % string_to_sign)
b64_hmac = self.sign_string(string_to_sign)
auth_hdr = self._provider.auth_header
- headers['Authorization'] = ("%s %s:%s" %
- (auth_hdr,
- self._provider.access_key, b64_hmac))
+ auth = ("%s %s:%s" % (auth_hdr, self._provider.access_key, b64_hmac))
+ boto.log.debug('Signature:\n%s' % auth)
+ headers['Authorization'] = auth
class HmacAuthV2Handler(AuthHandler, HmacKeys):
Please sign in to comment.
Something went wrong with that request. Please try again.