通過httpResponse.getEntity().getContent() 得到InputStream,將InputStream 保存文件,文件無法解析。
後將 httpClient.getParams().setParameter("Accept-Encoding", "identity"); 增加參數,取消zip壓縮後可以。
通過httpResponse.getEntity().getContent() 得到InputStream,將InputStream 保存文件,文件無法解析。
後將 httpClient.getParams().setParameter("Accept-Encoding", "identity"); 增加參數,取消zip壓縮後可以。