diff --git a/src/Google/IO/Abstract.php b/src/Google/IO/Abstract.php index 2d80afdd8..4f1134211 100644 --- a/src/Google/IO/Abstract.php +++ b/src/Google/IO/Abstract.php @@ -300,7 +300,7 @@ private function parseStringHeaders($rawHeaders) if ($headerLine && strpos($headerLine, ':') !== false) { list($header, $value) = explode(': ', $headerLine, 2); $header = strtolower($header); - if (isset($responseHeaders[$header])) { + if (isset($headers[$header])) { $headers[$header] .= "\n" . $value; } else { $headers[$header] = $value;