我正在使用URL.openConnection()从服务器上下载一些东西。服务器说
URL.openConnection()
Content-Type: text/plain; charset=utf-8
但是connection.getContentEncoding()返回null。怎么了?
connection.getContentEncoding()
null
https://stackoverflow.com/questions/3934251
相似问题