]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: add missing content-type for RGWGetBucketLocation 58442/head
authorSeena Fallah <seenafallah@gmail.com>
Fri, 5 Jul 2024 12:40:55 +0000 (14:40 +0200)
committerSeena Fallah <seenafallah@gmail.com>
Fri, 5 Jul 2024 12:40:55 +0000 (14:40 +0200)
commitbc7d75a44636732a3e9ae6f995052ce61f0ea9c3
tree7472f3e97ccede38b0176f6c6a87b4d246e5a87e
parent27ff2146568526ba4b350011cc7532376d552974
rgw: add missing content-type for RGWGetBucketLocation

GetBucketLocation API is returning an XML as a body so it deserves
to have a content-type in the headers.

Fixes: https://tracker.ceph.com/issues/66842
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
src/rgw/rgw_rest_s3.cc