Skip to content

Commit 28997fd

Browse files
authored
Update Response.php
1 parent f6e76dd commit 28997fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Qiniu/Http/Response.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,6 @@ public function needRetry()
171171
private static function isJson($headers)
172172
{
173173
return array_key_exists('content-type', $headers) &&
174-
strpos($headers['content-type'], 'application/json') === 0;
174+
strpos($headers['Content-Type'], 'application/json') === 0;
175175
}
176176
}

0 commit comments

Comments
 (0)