]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: send user manifest header field
authorYehuda Sadeh <yehuda@inktank.com>
Mon, 21 Apr 2014 22:34:04 +0000 (15:34 -0700)
committerSage Weil <sage@inktank.com>
Wed, 7 May 2014 21:53:27 +0000 (14:53 -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>
(cherry picked from commit 5cc5686039a882ad345681133c9c5a4a2c2fd86b)

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},
 };