libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r1125691 - /incubator/libcloud/trunk/libcloud/storage/drivers/s3.py
Date Sat, 21 May 2011 13:08:32 GMT
Author: tomaz
Date: Sat May 21 13:08:32 2011
New Revision: 1125691

URL: http://svn.apache.org/viewvc?rev=1125691&view=rev
Log:
Don't lowercase the amz header values in the request signature.

Modified:
    incubator/libcloud/trunk/libcloud/storage/drivers/s3.py

Modified: incubator/libcloud/trunk/libcloud/storage/drivers/s3.py
URL: http://svn.apache.org/viewvc/incubator/libcloud/trunk/libcloud/storage/drivers/s3.py?rev=1125691&r1=1125690&r2=1125691&view=diff
==============================================================================
--- incubator/libcloud/trunk/libcloud/storage/drivers/s3.py (original)
+++ incubator/libcloud/trunk/libcloud/storage/drivers/s3.py Sat May 21 13:08:32 2011
@@ -118,7 +118,7 @@ class S3Connection(ConnectionUserAndKey)
             if key.lower() in special_header_keys:
                 special_header_values[key.lower()] = value.lower().strip()
             elif key.lower().startswith('x-amz-'):
-                amz_header_values[key.lower()] = value.lower().strip()
+                amz_header_values[key.lower()] = value.strip()
 
         if not special_header_values.has_key('content-md5'):
             special_header_values['content-md5'] = ''



Mime
View raw message