]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: Do not send a Content-Type on a '304 Not Modified' response
authorWido den Hollander <wido@42on.com>
Mon, 21 Mar 2016 15:50:49 +0000 (16:50 +0100)
committerWido den Hollander <wido@42on.com>
Tue, 22 Mar 2016 10:04:09 +0000 (11:04 +0100)
commit471fa29e643fcfd5e1383fb987f99b5b21038ed7
tree27412b629e0fa9087404e09cad15a3b7fcefc60d
parent35479a92e5c41603011c3f481b82fa06ed5c9bd4
rgw: Do not send a Content-Type on a '304 Not Modified' response

When we say the Content has not changed we should not respond
with a content type which defaults to binary/octet stream.

Fixes: #15119
Signed-off-by: Wido den Hollander <wido@42on.com>
src/rgw/rgw_rest_s3.cc