]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: send user manifest header field 1773/head
authorYehuda Sadeh <yehuda@inktank.com>
Mon, 21 Apr 2014 22:34:04 +0000 (15:34 -0700)
committerYehuda Sadeh <yehuda@inktank.com>
Tue, 6 May 2014 17:00:17 +0000 (10:00 -0700)
Fixes: #8170
Backport: firefly
If user manifest header exists (swift) send it as part of the object
header data.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
src/rgw/rgw_rest.cc

index 6473c614627ae483b10d8593c4f7fa93974e400b..69948a6735bfe9fa9441e76c0c476f8b9ead086e 100644 (file)
@@ -36,6 +36,7 @@ static struct rgw_http_attr rgw_to_http_attr_list[] = {
   { RGW_ATTR_CACHE_CONTROL, "Cache-Control"},
   { RGW_ATTR_CONTENT_DISP, "Content-Disposition"},
   { RGW_ATTR_CONTENT_ENC, "Content-Encoding"},
+  { RGW_ATTR_USER_MANIFEST, "X-Object-Manifest"},
   { NULL, NULL},
 };