We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8b899cb + f8ab359 commit f6e76ddCopy full SHA for f6e76dd
examples/upload_and_pfop.php
@@ -12,7 +12,6 @@
12
13
// 在七牛保存的文件名
14
$key = 'php-logo.png';
15
-$token = $auth->uploadToken($bucket);
16
$uploadMgr = new UploadManager();
17
18
$pfop = "imageMogr2/rotate/90|saveas/" . \Qiniu\base64_urlSafeEncode($bucket . ":php-logo-rotate.png");
src/Qiniu/Http/Client.php
@@ -129,7 +129,8 @@ private static function parseHeaders($raw)
129
$headerLine = trim($line);
130
$kv = explode(':', $headerLine);
131
if (count($kv) > 1) {
132
- $headers[strtolower($kv[0])] = trim($kv[1]);
+ $kv[0] = ucwords($kv[0], '-');
133
+ $headers[$kv[0]] = trim($kv[1]);
134
}
135
136
return $headers;
0 commit comments