]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: OPTIONS request doesn't need to read object info
authorYehuda Sadeh <yehuda@inktank.com>
Thu, 22 Aug 2013 00:22:46 +0000 (17:22 -0700)
committerYehuda Sadeh <yehuda@inktank.com>
Wed, 11 Sep 2013 16:45:14 +0000 (09:45 -0700)
commitc3385d8a102faf5379559bb98cf89637ceda1579
tree47f7c7101ebfca78e530ad7f4a84c09bb2ec6fc6
parenta5fdd44e5d8ce4b8d82273d83e27aea19e63aa7c
rgw: OPTIONS request doesn't need to read object info

This is a bucket-only operation, so we shouldn't look at the
object. Object may not exist and we might respond with Not
Exists response which is not what we want.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
src/rgw/rgw_rest.cc