我尝试了下面的代码,但它给出了错误 要求的范围不可满足
String paramString = URLEncodedUtils.format(params, "utf-8");
url = url.replace(" ", "+");
// url += "?" + paramString;
Log.e("-------------------------->", paramString.toString());
HttpGet httpGet = new HttpGet(url);
Log.e("url--- is:-",""+url);
httpGet.setHeader("Accept-Ranges","none");
HttpResponse httpResponse = httpClient.execute(httpGet);
HttpEntity httpEntity = httpResponse.getEntity();
is = httpEntity.getContent();