We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/qiniu/php-sdk/blob/master/src/Qiniu/Http/Response.php#L183
此处只要满足 array_key_exists('content-type', $headers) 即返回 true,看起来不太合理
array_key_exists('content-type', $headers)
The text was updated successfully, but these errors were encountered:
的确不合理,已安排,修复后会关闭此 issue
感谢反馈
Sorry, something went wrong.
{ $headers = array_change_key_case($headers); return array_key_exists('content-type', $headers) && strpos($headers['content-type'], 'application/json') === 0; }
Successfully merging a pull request may close this issue.
https://github.com/qiniu/php-sdk/blob/master/src/Qiniu/Http/Response.php#L183
此处只要满足
array_key_exists('content-type', $headers)
即返回 true,看起来不太合理The text was updated successfully, but these errors were encountered: