]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: enforce Content-Type in Swift responses. 5089/head
authorRadoslaw Zarzynski <rzarzynski@mirantis.com>
Tue, 23 Jun 2015 09:54:09 +0000 (11:54 +0200)
committerRadoslaw Zarzynski <rzarzynski@mirantis.com>
Fri, 26 Jun 2015 13:26:35 +0000 (15:26 +0200)
commit106aeba206736d4080326f9bc191876bed63370b
tree3e253c99505b3399618400217d33c0d7b2356188
parent32a7d561e1acee5c2d8a44230c40d352275c39f4
rgw: enforce Content-Type in Swift responses.

Swift sends Content-Type HTTP header even if the response
doesn't contain body. We have this behaviour implemented
until applying some changes in end_header() function.
Unfortunately, lack of Content-Type causes early exits in
many Tempest's tests for Swift API verification.

Fixes: #12157
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
src/rgw/rgw_rest.cc