]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: Swift API. Complement the response to "show container details" 4577/head
authorDmytro Iurchenko <diurchenko@mirantis.com>
Mon, 16 Feb 2015 16:47:59 +0000 (18:47 +0200)
committerLoic Dachary <ldachary@redhat.com>
Wed, 6 May 2015 11:21:54 +0000 (13:21 +0200)
commitc87aa110bd224ae3220c5486fbd2486ebdfb8b8e
tree653aa69813810d5f7cab87b89fa825bc9fdd8314
parentbc51476181429d7d95d2bba5f774d8b60c47fb1f
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>
(cherry picked from commit d3a3d5ae5859cd7f2eed307e8f942f9a9fd75f35)
src/rgw/rgw_op.cc
src/rgw/rgw_op.h
src/rgw/rgw_rest_swift.cc
src/rgw/rgw_rest_swift.h