fix bug and add methods

This commit is contained in:
Looly 2022-06-16 12:25:51 +08:00
parent 6dc6df24dd
commit 4203b6532b
2 changed files with 2 additions and 8 deletions

View File

@ -9,9 +9,10 @@
* 【extra 】 Sftp增加构造重载支持超时pr#653@Gitee * 【extra 】 Sftp增加构造重载支持超时pr#653@Gitee
* 【core 】 BeanUtil增加isCommonFieldsEqualpr#653@Gitee * 【core 】 BeanUtil增加isCommonFieldsEqualpr#653@Gitee
* 【json 】 修改byte[]统一转换为数组形式issue#2377@Github * 【json 】 修改byte[]统一转换为数组形式issue#2377@Github
* 【http 】 HttpResponse增加body方法支持自定义返回内容pr#655@Gitee
* *
### 🐞Bug修复 ### 🐞Bug修复
* 【extra 】 修复createExtractor中抛出异常后流未关闭问题issue#2384@Github * 【extra 】 修复createExtractor中抛出异常后流未关闭问题pr#2384@Github
------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------

View File

@ -204,11 +204,4 @@ public class HttpRequestTest {
HttpRequest httpRequest = new HttpRequest(urlBuilder); HttpRequest httpRequest = new HttpRequest(urlBuilder);
httpRequest.setMethod(Method.GET).execute(); httpRequest.setMethod(Method.GET).execute();
} }
@Test
public void get122Test(){
String url = "http://122.112.234.240:9007/monitor/devices/real/59312710/all/0";
final String s = HttpUtil.get(url);
Console.log(s);
}
} }