This commit is contained in:
2020-11-14 03:07:25 +08:00
parent 6e488f87b1
commit 63d0639b85
+2
View File
@@ -662,6 +662,8 @@ class HttpClient
}
curl_setopt($ch, CURLOPT_HEADER, true);
var_dump($this->parseHeaderMat());
if ($headers = $this->parseHeaderMat()) {
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
}