Make charset parameter name comparison case-insensitive HTTP header parameter names are case-insensitive per RFC 7230, so a Content-Type of “text/plain; Charset=UTF-8” should be recognized the same as “charset=utf-8”. Previously only the exact lowercase form was matched, causing the charset to be ignored and the response to be decoded with the default ISO-8859-1 encoding (or the passed-in default), garbling non-ASCII text in StringRequest responses.
Make charset parameter name comparison case-insensitive
HTTP header parameter names are case-insensitive per RFC 7230, so a Content-Type of “text/plain; Charset=UTF-8” should be recognized the same as “charset=utf-8”. Previously only the exact lowercase form was matched, causing the charset to be ignored and the response to be decoded with the default ISO-8859-1 encoding (or the passed-in default), garbling non-ASCII text in StringRequest responses.
Volley is an HTTP library that makes networking for Android apps easier and, most importantly, faster.
For more information about Volley and how to use it, visit the documentation page.
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802047560号
Volley
Volley is an HTTP library that makes networking for Android apps easier and, most importantly, faster.
For more information about Volley and how to use it, visit the documentation page.