You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2011/04/11 00:39:26 UTC
svn commit: r1090900 -
/incubator/libcloud/trunk/libcloud/storage/drivers/s3.py
Author: tomaz
Date: Sun Apr 10 22:39:25 2011
New Revision: 1090900
URL: http://svn.apache.org/viewvc?rev=1090900&view=rev
Log:
Fix a bug in the S3 driver meta_data header key name.
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=1090900&r1=1090899&r2=1090900&view=diff
==============================================================================
--- incubator/libcloud/trunk/libcloud/storage/drivers/s3.py (original)
+++ incubator/libcloud/trunk/libcloud/storage/drivers/s3.py Sun Apr 10 22:39:25 2011
@@ -330,7 +330,7 @@ class S3StorageDriver(StorageDriver):
if meta_data:
for key, value in meta_data.iteritems():
- key = 'x-amz-meta--%s' % (key)
+ key = 'x-amz-meta-%s' % (key)
headers[key] = value
request_path = '/%s/%s' % (container_name_cleaned, object_name_cleaned)
@@ -422,7 +422,6 @@ class S3StorageDriver(StorageDriver):
return obj
-
class S3USWestConnection(S3Connection):
host = S3_US_WEST_HOST