From: Chang Liu Date: Thu, 19 Sep 2019 06:56:02 +0000 (+0800) Subject: rgw: the http response code of delete bucket should not be 204-no-content X-Git-Tag: v15.1.0~107^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=710d8d31d27af05de1f17f7a44f9f0b5862b00a2;p=ceph-ci.git rgw: the http response code of delete bucket should not be 204-no-content Fixes: https://tracker.ceph.com/issues/41925 Signed-off-by: Chang Liu --- diff --git a/src/rgw/rgw_rest_s3.cc b/src/rgw/rgw_rest_s3.cc index b1c75fe8715..d1028b0291d 100644 --- a/src/rgw/rgw_rest_s3.cc +++ b/src/rgw/rgw_rest_s3.cc @@ -1662,15 +1662,6 @@ void RGWDeleteBucket_ObjStore_S3::send_response() set_req_state_err(s, r); dump_errno(s); end_header(s, this); - - if (s->system_request) { - JSONFormatter f; /* use json formatter for system requests output */ - - f.open_object_section("info"); - encode_json("object_ver", objv_tracker.read_version, &f); - f.close_section(); - rgw_flush_formatter_and_reset(s, &f); - } } static inline void map_qs_metadata(struct req_state* s)