mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
add test
This commit is contained in:
parent
6e871a1fae
commit
7e6c38b8ae
@ -11,7 +11,7 @@
|
||||
*
|
||||
### 🐞Bug修复
|
||||
* 【extra 】 修复TinyPinyinEngine空构造造成可能的误判问题
|
||||
* 【http 】 修复在gzip模式下Content-Length服务端设置异常导致的阶段
|
||||
* 【http 】 修复在gzip模式下Content-Length服务端设置异常导致的问题(issue#1766@Github)
|
||||
* 【db 】 修复PooledDataSource关闭逻辑错误问题
|
||||
|
||||
-------------------------------------------------------------------------------------------------------------
|
||||
|
@ -338,4 +338,12 @@ public class HttpUtilTest {
|
||||
byte[] bytes = HttpUtil.downloadBytes("https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fpic.jj20.com%2Fup%2Fallimg%2F1114%2F0H320120Z3%2F200H3120Z3-6-1200.jpg&refer=http%3A%2F%2Fpic.jj20.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1621996490&t=8c384c2823ea453da15a1b9cd5183eea");
|
||||
Console.log(Base64.encode(bytes));
|
||||
}
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
public void acplayTest(){
|
||||
final String body = HttpRequest.get("https://api.acplay.net/api/v2/bangumi/9541")
|
||||
.execute().body();
|
||||
Console.log(body);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user