diff --git a/src/Util/HTTPSignature.php b/src/Util/HTTPSignature.php index e3244fade3..c5507adf3f 100644 --- a/src/Util/HTTPSignature.php +++ b/src/Util/HTTPSignature.php @@ -447,7 +447,7 @@ class HTTPSignature $curl_opts = $opts; $curl_opts['header'] = $header; - if ($opts['nobody']) { + if (!empty($opts['nobody'])) { $curlResult = DI::httpRequest()->head($request, $curl_opts); } else { $curlResult = DI::httpRequest()->get($request, $curl_opts);