]> git.mxchange.org Git - friendica.git/commitdiff
Empty the header array
authorMichael <heluecht@pirati.ca>
Wed, 2 Oct 2019 04:10:36 +0000 (04:10 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 2 Oct 2019 04:10:36 +0000 (04:10 +0000)
src/Network/CurlResult.php

index 2f5c94187e82ea7e59dae71802d9830379245cb0..26fe7a478094da6c4d3cd1ddffff51ddebe86880 100644 (file)
@@ -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()