x-amz-* vs x-amz-meta-*

git-svn-id: http://s3fs.googlecode.com/svn/trunk@105 df820570-a93a-0410-bd06-b72b767a4274
This commit is contained in:
rrizun 2008-02-25 04:02:08 +00:00
parent afbd605bb4
commit 104d7dd29d

View File

@ -633,7 +633,9 @@ put_local_fd(const char* path, headers_t meta, int fd) {
string value = (*iter).second;
if (key == "Content-Type")
headers.append(key+":"+value);
if (key.substr(0,5) == "x-amz")
if (key.substr(0,9) == "x-amz-acl")
headers.append(key+":"+value);
if (key.substr(0,10) == "x-amz-meta")
headers.append(key+":"+value);
}