]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: Response 204 when post on containers 3546/head
authorYuan Zhou <yuan.zhou@intel.com>
Fri, 30 Jan 2015 03:43:19 +0000 (11:43 +0800)
committerYuan Zhou <yuan.zhou@intel.com>
Fri, 30 Jan 2015 12:00:54 +0000 (20:00 +0800)
commita0a5185b6bf527c51f08690bbdd929dfed25fcca
tree670ca2b393f36cebbf6e975fe1e1bd2a213d9f27
parent7e5e1ea1a51637de1c9a37039f21d88aee43ee83
rgw: Response 204 when post on containers

Currently POST request on container returns 202 if success. But in Swift
the code is 204. Let's use 204 to keep align with the Swift API.

Fixes #10667
Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
src/rgw/rgw_rest_swift.cc