]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: use string_view to parse Accept header 51593/head
authorCasey Bodley <cbodley@redhat.com>
Tue, 16 May 2023 12:24:29 +0000 (08:24 -0400)
committerCasey Bodley <cbodley@redhat.com>
Fri, 19 May 2023 13:28:04 +0000 (09:28 -0400)
commit33779890e37a6164af97616df89e36a8aead2ef9
tree998ea02969470493b98046935bd4aa095ae92524
parenta78c70f9ad3cf909a8154fcf1eaae8fd27cfbf6b
rgw: use string_view to parse Accept header

avoid copying the header into a separate buffer to do comparisons

Fixes: https://tracker.ceph.com/issues/59490
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 26bb7bc6e6827a3db7611218f4b23b15feb42648)
src/rgw/rgw_rest.cc