]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: handle deep uri resources
authorYehuda Sadeh <yehuda@inktank.com>
Fri, 7 Jun 2013 04:53:00 +0000 (21:53 -0700)
committerGreg Farnum <greg@inktank.com>
Fri, 7 Jun 2013 20:52:25 +0000 (13:52 -0700)
commitad3934e335399f7844e45fcfd17f7802800d2cb3
treef694bf492a3c6f340f15412fd6fc30f504692ea3
parent8d55b87f95d59dbfcfd0799c4601ca37ebb025f5
rgw: handle deep uri resources

In case of deep uri resources (ones created beyond a single level
of hierarchy, e.g. auth/v1.0) we want to create a new empty
handlers for the path if no handlers exists. E.g., for
auth/v1.0 we need to have a handler for 'auth', otherwise
the default S3 handler will be used, which we don't want.

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