diff --git a/lib/Service/CurlService.php b/lib/Service/CurlService.php index b10afa7c..882fa404 100644 --- a/lib/Service/CurlService.php +++ b/lib/Service/CurlService.php @@ -398,7 +398,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 4b7c26aa..7fa9ba9c 100644 --- a/lib/Tools/Traits/TRequest.php +++ b/lib/Tools/Traits/TRequest.php @@ -136,7 +136,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());