]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: add location when data in another region. 2801/head
authorVRan Liu <gliuwr@gmail.com>
Fri, 14 Nov 2014 08:27:17 +0000 (16:27 +0800)
committerVRan Liu <gliuwr@gmail.com>
Fri, 14 Nov 2014 09:11:21 +0000 (17:11 +0800)
commit3c4b782bcb5460523982a04b1e5c7963e08a1687
treef06f3c82700d6f9826cc0f385bd4917306159ff9
parent1f566023eda0e8e10ea55c69caf7f37395c1adc1
rgw: add location when data in another region.

When the bucket of requested is in another region, Add location header
in response, so client can follow that to get data.

Signed-off-by: VRan Liu <gliuwr@gmail.com>
src/rgw/rgw_common.h
src/rgw/rgw_op.cc
src/rgw/rgw_rest.cc