]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: send content length on put operation
authorYehuda Sadeh <yehuda@hq.newdream.net>
Mon, 25 Apr 2011 21:31:25 +0000 (14:31 -0700)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Mon, 25 Apr 2011 21:32:16 +0000 (14:32 -0700)
src/rgw/rgw_rest_s3.cc

index 9bcf459b118d81c4b8fd46eb6023eb5b011c3f7b..938fe94581f11b980498a13773d5679b1463454f 100644 (file)
@@ -184,6 +184,8 @@ void RGWPutObj_REST_S3::send_response()
   dump_etag(s, etag.c_str());
   if (ret)
     set_req_state_err(s, ret);
+  else
+    dump_content_length(s, 0);
   dump_errno(s);
   end_header(s);
 }