]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: Swift API. Complement the response to "show container details"
authorDmytro Iurchenko <diurchenko@mirantis.com>
Mon, 16 Feb 2015 16:47:59 +0000 (18:47 +0200)
committerYehuda Sadeh <yehuda@redhat.com>
Mon, 2 Mar 2015 18:32:04 +0000 (10:32 -0800)
commitd3a3d5ae5859cd7f2eed307e8f942f9a9fd75f35
tree695ad74d91a83653814ea7a8dad27ad9344743c9
parentb65f8fa4228a334962580efa9bdc15c342a7b6f6
rgw: Swift API. Complement the response to "show container details"

OpenStack Object Storage API v1 states that X-Container-Object-Count, X-Container-Bytes-Used and user-defined metadata headers should be included in a response.

Fixes: #10666
Backport: hammer
Reported-by: Ahmad Faheem <ahmad.faheem@ril.com>
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Signed-off-by: Dmytro Iurchenko <diurchenko@mirantis.com>
src/rgw/rgw_op.cc
src/rgw/rgw_op.h
src/rgw/rgw_rest_swift.cc
src/rgw/rgw_rest_swift.h