]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: make sending Content-Length in 204 and 304 controllable 10156/head
authorRadoslaw Zarzynski <rzarzynski@mirantis.com>
Thu, 16 Feb 2017 23:56:34 +0000 (00:56 +0100)
committerRadoslaw Zarzynski <rzarzynski@mirantis.com>
Fri, 17 Feb 2017 00:06:18 +0000 (01:06 +0100)
commitd8e3e64ec97a3c222a56bb6f510e5e23d7858615
tree66f42813526d1618ed1f546a5c5f21f68bc5e9c2
parenta785b00be366f3bfc9d9236fd25cfad59970a40b
rgw: make sending Content-Length in 204 and 304 controllable

This commit introduces a new configurable "rgw print prohibited
content length" to let operator decide whether RadosGW complies
to RFC 7230 (a part of the HTTP specification) or violates it
but follows the Swift's behavior.

Fixes: http://tracker.ceph.com/issues/16602
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
src/common/config_opts.h
src/rgw/rgw_client_io_filters.h