且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用改造下载图像文件

更新时间:2023-11-04 23:04:34

这个问题是在响应Content-Type头包括一个虚假的字符集:

The issue is the content-type header on the response includes a bogus charset:

Content-Type: image/png; charset=binary

改造认为这并推断响应是文本,它可以记录。你应该将问题报告给服务器的管理员。

Retrofit sees this and infers that the response is text that it can log. You should report the problem to the server's administrator.

如果您在GitHub上改造的问题跟踪报告问题,我们或许可以从这个问题中恢复,而不是崩溃。

If you report the issue to Retrofit's issue tracker on GitHub, we can probably recover from this problem rather than crashing.