]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw/s3website: Fix x-amz-website-redirect-location support. 9099/head
authorRobin H. Johnson <robin.johnson@dreamhost.com>
Sun, 17 Apr 2016 15:23:23 +0000 (08:23 -0700)
committerAbhishek Varshney <abhishek.varshney@flipkart.com>
Wed, 8 Jun 2016 09:38:29 +0000 (15:08 +0530)
commitd48a1ed7845843cfc7598d97dce6b10992079ec3
treea091a9aeaa4d60948306f536eb945e9943f8e292
parentd93a90ec2743c9aec229891c3b0da72b038cffad
rgw/s3website: Fix x-amz-website-redirect-location support.

Support for the x-amz-website-redirect-location header was broken in the
feature merging of Jewel, as it previously depended on the error handler to
redirect, which was overkill. Simplify it to work.

Backport: jewel
Fixes: http://tracker.ceph.com/issues/15531
Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
(cherry picked from commit 7cbb63bb748c4c78c02926acb4ad9bcea5593695)
src/rgw/rgw_rest_s3.cc