diff --git a/src/cURL.php b/src/cURL.php index a0ca672..bc152ac 100644 --- a/src/cURL.php +++ b/src/cURL.php @@ -281,6 +281,10 @@ public function prepareRequest(Request $request) if ($this->methods[$method] === true) { curl_setopt($this->ch, CURLOPT_POSTFIELDS, $request->encodeData()); } + + if ($method === 'head') { + curl_setopt($this->ch, CURLOPT_NOBODY, true); + } } /**