diff --git a/src/Curl/Curl.php b/src/Curl/Curl.php index c3612ca..038a94a 100644 --- a/src/Curl/Curl.php +++ b/src/Curl/Curl.php @@ -442,7 +442,6 @@ class Curl $url = $this->baseUrl; } $this->setURL($url); - $this->unsetHeader('Content-Length'); $this->setOpt(CURLOPT_CUSTOMREQUEST, 'PATCH'); $this->setOpt(CURLOPT_POSTFIELDS, $this->buildPostData($data)); return $this->exec();