]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw/s3: remove 'aws-chunked' from Content-Encoding response 65218/head
authorCasey Bodley <cbodley@redhat.com>
Thu, 10 Jul 2025 13:47:04 +0000 (09:47 -0400)
committerCasey Bodley <cbodley@redhat.com>
Mon, 25 Aug 2025 16:24:16 +0000 (12:24 -0400)
commit91ede0d797ab8122e783fb9738c63ba0e11c37b2
tree20dfd5c7a26278a1739168b6d1a0e15359525a54
parent686fc8ba4a968687f8a5d94939fdbb26d2678d99
rgw/s3: remove 'aws-chunked' from Content-Encoding response

PutObject stores some of the generic http request headers in object
attrs so they can be returned as response headers in Get/HeadObject

S3 has its own `aws-chunked` value for the `Content-Encoding` header,
which it says does _not_ get stored with the object or returned with
Get/HeadObject

we've been storing this header with objects forever, so omitting the
value on PutObject doesn't fix the issue for existing objects. instead,
add the necessary filtering to Get/HeadObject

Fixes: https://tracker.ceph.com/issues/21128
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 4a802b864a6f9d45506197dfb1bc23cf852e51f8)
src/rgw/rgw_rest_s3.cc