Skip to content

Commit e00195e

Browse files
authored
Explicitly disable CURLOPT_HEADER
1 parent 76e7127 commit e00195e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/RemoteRequest/CurlRemoteGetRequest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ public function get($url, $headers = [])
107107
$curlHandle = curl_init();
108108

109109
curl_setopt($curlHandle, CURLOPT_URL, $url);
110+
curl_setopt($curlHandle, CURLOPT_HEADER, false);
110111
curl_setopt($curlHandle, CURLOPT_FOLLOWLOCATION, true);
111112
curl_setopt($curlHandle, CURLOPT_SSL_VERIFYPEER, $this->sslVerify);
112113
curl_setopt($curlHandle, CURLOPT_SSL_VERIFYHOST, $this->sslVerify ? 2 : 0);

0 commit comments

Comments
 (0)