]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: tie CORS header response to all relevant operations
authorYehuda Sadeh <yehuda@inktank.com>
Thu, 22 Aug 2013 20:38:55 +0000 (13:38 -0700)
committerYehuda Sadeh <yehuda@inktank.com>
Wed, 4 Sep 2013 23:11:20 +0000 (16:11 -0700)
commitc540798312831ae31aa0403350b3bc90bc8eef86
tree3f281f384c00da31b5b99c8b3bb70d6a8b8ef410
parent83eb5d678a0f7b295bf402c98a45f3f77718b520
rgw: tie CORS header response to all relevant operations

Have the CORS responses on all relevant operations. Also add headers
on failure cases.

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