diff --git a/lib/Service/CurlService.php b/lib/Service/CurlService.php index 3afab11e..2450591f 100644 --- a/lib/Service/CurlService.php +++ b/lib/Service/CurlService.php @@ -377,7 +377,6 @@ class CurlService { curl_setopt($curl, CURLOPT_TIMEOUT, $request->getTimeout()); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); - curl_setopt($curl, CURLOPT_BINARYTRANSFER, $request->isBinary()); curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, $request->isVerifyPeer()); curl_setopt($curl, CURLOPT_FOLLOWLOCATION, $request->isFollowLocation()); diff --git a/lib/Tools/Traits/TRequest.php b/lib/Tools/Traits/TRequest.php index 41cb3475..d0cfe57a 100644 --- a/lib/Tools/Traits/TRequest.php +++ b/lib/Tools/Traits/TRequest.php @@ -114,7 +114,6 @@ trait TRequest { curl_setopt($curl, CURLOPT_TIMEOUT, $request->getTimeout()); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); - curl_setopt($curl, CURLOPT_BINARYTRANSFER, $request->isBinary()); curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, $request->isVerifyPeer()); curl_setopt($curl, CURLOPT_FOLLOWLOCATION, $request->isFollowLocation());