Skip to content

Commit 6774a1a

Browse files
authored
Merge branch 'master' into patch-1
2 parents a6a26f1 + 318b9eb commit 6774a1a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Qiniu/Http/Client.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ private static function parseHeaders($raw)
129129
$headerLine = trim($line);
130130
$kv = explode(':', $headerLine);
131131
if (count($kv) > 1) {
132+
$kv[0] = ucwords($kv[0], '-');
132133
$headers[$kv[0]] = trim($kv[1]);
133134
}
134135
}

0 commit comments

Comments
 (0)