From b051804dc3a2f972c3c4cf59bcd9fe7b7641f17b Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 2 Oct 2019 04:10:36 +0000 Subject: [PATCH] Empty the header array --- src/Network/CurlResult.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Network/CurlResult.php b/src/Network/CurlResult.php index 2f5c94187e..26fe7a4780 100644 --- a/src/Network/CurlResult.php +++ b/src/Network/CurlResult.php @@ -134,6 +134,7 @@ class CurlResult $this->body = substr($result, strlen($header)); $this->header = $header; + $this->header_fields = []; // Is filled on demand } private function checkSuccess()