HttpClient client = getHttpClient(url, connectionTimeout, soTimeout);
HttpGet httpclient = new HttpGet(url);
if (authMap != null)
httpclient.addHeader(new BasicScheme().authenticate(new UsernamePasswordCredentials((String) authMap.get("user"), (String) authMap.get("password")), httpclient));
HttpResponse response = client.execute(httpclient);
HttpEntity resEntity = response.getEntity();
String contentCharSet = EntityUtils.getContentCharSet(resEntity);
HashMap<String, Object> map = new HashMap<String, Object>();
map.put("status", response.getStatusLine().getStatusCode());
map.put("response", contentCharSet != null ? new String(EntityUtils.toByteArray(resEntity), contentCharSet) : new String(EntityUtils.toByteArray(resEntity)));
return map;