]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: Set CURLOPT_NOBODY for HEAD request 37259/head
authorSoumya Koduri <skoduri@redhat.com>
Fri, 18 Sep 2020 17:31:12 +0000 (23:01 +0530)
committerSoumya Koduri <skoduri@redhat.com>
Mon, 18 Jan 2021 08:10:44 +0000 (13:40 +0530)
commitf5019d2a8388c2046065d550b2fcdb8ef00c4145
tree4356669a736c9dcd9f1e3fbb9c71403d63e37954
parent0e7a7be5c065bd7f792b378a59c14b503370e394
rgw: Set CURLOPT_NOBODY for HEAD request

Set "CURLOPT_NOBODY" for HEAD request so that libcurl doesn't
throw error when there is no body in the response.

Signed-off-by: Soumya Koduri <skoduri@redhat.com>
src/rgw/rgw_http_client.cc
src/test/rgw/test_http_manager.cc