@@ -73,7 +73,7 @@ |
||
73 | 73 | CURLOPT_HTTPHEADER => [], |
74 | 74 | CURLOPT_FOLLOWLOCATION => false, |
75 | 75 | CURLOPT_PROTOCOLS => $this->httpsOnly ? CURLPROTO_HTTPS : CURLPROTO_HTTPS | CURLPROTO_HTTP, |
76 | - CURLOPT_HEADERFUNCTION => function ($curlChannel, $headerData) use (&$headerList) { |
|
76 | + CURLOPT_HEADERFUNCTION => function($curlChannel, $headerData) use (&$headerList) { |
|
77 | 77 | if (false !== strpos($headerData, ':')) { |
78 | 78 | list($key, $value) = explode(':', $headerData, 2); |
79 | 79 | $headerList[trim($key)] = trim($value); |