@@ -106,7 +106,7 @@ |
||
106 | 106 | CURLOPT_HTTPHEADER => [], |
107 | 107 | CURLOPT_FOLLOWLOCATION => false, |
108 | 108 | CURLOPT_PROTOCOLS => $this->allowHttp ? CURLPROTO_HTTPS | CURLPROTO_HTTP : CURLPROTO_HTTPS, |
109 | - CURLOPT_HEADERFUNCTION => function ($curlChannel, $headerData) use (&$headerList) { |
|
109 | + CURLOPT_HEADERFUNCTION => function($curlChannel, $headerData) use (&$headerList) { |
|
110 | 110 | if (false !== strpos($headerData, ':')) { |
111 | 111 | list($key, $value) = explode(':', $headerData, 2); |
112 | 112 | $headerList[trim($key)] = trim($value); |