|
|
|
@ -133,7 +133,7 @@ public class HttpUtils
|
|
|
|
|
StringBuilder result = new StringBuilder();
|
|
|
|
|
try
|
|
|
|
|
{
|
|
|
|
|
log.info("sendPost - {}", url);
|
|
|
|
|
// log.info("sendPost - {}", url);
|
|
|
|
|
URL realUrl = new URL(url);
|
|
|
|
|
URLConnection conn = realUrl.openConnection();
|
|
|
|
|
conn.setRequestProperty("accept", "*/*");
|
|
|
|
@ -152,7 +152,7 @@ public class HttpUtils
|
|
|
|
|
{
|
|
|
|
|
result.append(line);
|
|
|
|
|
}
|
|
|
|
|
log.info("recv - {}", result);
|
|
|
|
|
// log.info("recv - {}", result);
|
|
|
|
|
}
|
|
|
|
|
catch (ConnectException e)
|
|
|
|
|
{
|
|
|
|
|