Empty the header array
This commit is contained in:
parent
489510e7a9
commit
b051804dc3
|
@ -134,6 +134,7 @@ class CurlResult
|
||||||
|
|
||||||
$this->body = substr($result, strlen($header));
|
$this->body = substr($result, strlen($header));
|
||||||
$this->header = $header;
|
$this->header = $header;
|
||||||
|
$this->header_fields = []; // Is filled on demand
|
||||||
}
|
}
|
||||||
|
|
||||||
private function checkSuccess()
|
private function checkSuccess()
|
||||||
|
|
Loading…
Reference in a new issue