From d260a93405a7a34a899f716bd9c4e731baa9ffd0 Mon Sep 17 00:00:00 2001 From: Radoslaw Zarzynski Date: Fri, 6 Mar 2015 13:18:19 +0100 Subject: [PATCH] rgw: send Content-Length in response for DELETE on Swift container. Backport: hammer Signed-off-by: Radoslaw Zarzynski --- src/rgw/rgw_rest_swift.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rgw/rgw_rest_swift.cc b/src/rgw/rgw_rest_swift.cc index fe186f9edaa9..fc47ccfa1bd3 100644 --- a/src/rgw/rgw_rest_swift.cc +++ b/src/rgw/rgw_rest_swift.cc @@ -402,7 +402,7 @@ void RGWDeleteBucket_ObjStore_SWIFT::send_response() set_req_state_err(s, r); dump_errno(s); - end_header(s, this); + end_header(s, this, NULL, 0); rgw_flush_formatter_and_reset(s, s->formatter); } -- 2.47.3