]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: option to provide alternative s3 put obj success code
authorYehuda Sadeh <yehuda@inktank.com>
Fri, 30 Nov 2012 00:48:46 +0000 (16:48 -0800)
committerYehuda Sadeh <yehuda@inktank.com>
Wed, 12 Dec 2012 21:45:21 +0000 (13:45 -0800)
commit870872455789a3ab3f490ef50f6bc5bc09a3d8e5
tree52a1ef158a1e4e43b8b6f08cfdd5ce727cfee56b
parentbece012caaf5cd89cc727d93e38eeb34b6649db1
rgw: option to provide alternative s3 put obj success code

Fixes: #3529
Added a new option: rgw_s3_success_create_obj_status.
Expected values are 0, 200, 201, 204. A value of 0
will skip the special handling altogether. Any value
other than the specified will default to 200.

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