diff options
author | Paul Tax <paultax@gmail.com> | 2015-08-24 21:23:53 +0200 |
---|---|---|
committer | Paul Tax <paultax@gmail.com> | 2015-08-24 21:23:53 +0200 |
commit | 5ef2d19b629a12ea73d04bb263bf9dc1c9b4b8b9 (patch) | |
tree | fb96fc3b4b3af1709ee52f118a7cd29ce77af51c | |
parent | a24df57c97c1d1926136496aaad9a2e945c84910 (diff) | |
download | python-requests-aws-5ef2d19b629a12ea73d04bb263bf9dc1c9b4b8b9.tar.gz |
Fix py3
-rw-r--r-- | awsauth.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -146,6 +146,6 @@ class S3Auth(AuthBase): # if we sign the request with the encoded value the signature will # not be valid, we'll get 403 Access Denied. # So we unquote, this is no-op if the value isn't encoded. - buf += '{}={}'.format(k, urllib.unquote(v)) + buf += '{key}={value}'.format(key=k, value=urlparse.unquote(v)) return buf |