mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-12-23 09:18:55 +00:00
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:
parent
afbd605bb4
commit
104d7dd29d
@ -633,7 +633,9 @@ put_local_fd(const char* path, headers_t meta, int fd) {
|
|||||||
string value = (*iter).second;
|
string value = (*iter).second;
|
||||||
if (key == "Content-Type")
|
if (key == "Content-Type")
|
||||||
headers.append(key+":"+value);
|
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);
|
headers.append(key+":"+value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user