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.
1 parent f6e76dd commit 28997fdCopy full SHA for 28997fd
src/Qiniu/Http/Response.php
@@ -171,6 +171,6 @@ public function needRetry()
171
private static function isJson($headers)
172
{
173
return array_key_exists('content-type', $headers) &&
174
- strpos($headers['content-type'], 'application/json') === 0;
+ strpos($headers['Content-Type'], 'application/json') === 0;
175
}
176
0 commit comments