该问题出现的原因是4.4系统get时不再提交请求头,外国程序员对bug的解释:
On Android 4.4 things did change under the hood and the none standard SHOUTcast ICY header response is no longer supported. Just like the Apache HTTPClient library.
详情请看:
http://stackoverflow.com/questions/19738798/android-4-4-http-api-bugs/19836471
解决方案:
1.服务器忽略get请求头
2.post提交数据
文章详细介绍了在Android 4.4系统中遇到的HTTP API问题,包括原因分析和两种解决方案:服务器忽略get请求头或通过POST方式提交数据。

被折叠的 条评论
为什么被折叠?



