This commit is contained in:
Looly 2021-08-16 23:33:21 +08:00
parent 6e871a1fae
commit 7e6c38b8ae
2 changed files with 9 additions and 1 deletions

View File

@ -11,7 +11,7 @@
*
### 🐞Bug修复
* 【extra 】 修复TinyPinyinEngine空构造造成可能的误判问题
* 【http 】 修复在gzip模式下Content-Length服务端设置异常导致的阶段
* 【http 】 修复在gzip模式下Content-Length服务端设置异常导致的问题issue#1766@Github
* 【db 】 修复PooledDataSource关闭逻辑错误问题
-------------------------------------------------------------------------------------------------------------

View File

@ -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);
}
}