Skip to content

Commit

Permalink
rgw: add xml output header in RGWCopyObj_ObjStore_S3 response msg
Browse files Browse the repository at this point in the history
Fixes: http://tracker.ceph.com/issues/22416

Signed-off-by: Enming Zhang <enming.zhang@umcloud.com>
(cherry picked from commit 381a5b5)
  • Loading branch information
ZVampirEM77 authored and Prashant D committed Jan 9, 2018
1 parent 0e57572 commit 31bd4ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rgw/rgw_rest_s3.cc
Expand Up @@ -2128,6 +2128,7 @@ void RGWCopyObj_ObjStore_S3::send_partial_response(off_t ofs)
dump_errno(s);

end_header(s, this, "application/xml");
dump_start(s);
if (op_ret == 0) {
s->formatter->open_object_section_in_ns("CopyObjectResult", XMLNS_AWS_S3);
}
Expand Down

0 comments on commit 31bd4ee

Please sign in to comment.