]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: bucket HEAD operation should return 200, not 204
authorYehuda Sadeh <yehuda@hq.newdream.net>
Thu, 19 Apr 2012 20:21:17 +0000 (13:21 -0700)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Thu, 19 Apr 2012 20:21:17 +0000 (13:21 -0700)
Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
src/rgw/rgw_rest_s3.cc

index 663f4c511461bb7064c7bdf2b686469b27cbf52e..d6a1dd98dce8b7688723e97d13e3c25c3e133b2e 100644 (file)
@@ -194,7 +194,6 @@ static void dump_bucket_metadata(struct req_state *s, RGWBucketEnt& bucket)
 void RGWStatBucket_REST_S3::send_response()
 {
   if (ret >= 0) {
-    ret = STATUS_NO_CONTENT;
     dump_bucket_metadata(s, bucket);
   }