This commit is contained in:
Looly 2022-10-09 01:50:07 +08:00
parent 34fe9f577f
commit cd73435161
2 changed files with 3 additions and 2 deletions

View File

@ -193,7 +193,7 @@ public class DownloadTest {
}
@Test
//@Ignore
@Ignore
public void downloadTeamViewerTest() throws IOException {
// 此URL有3次重定向, 需要请求4次
final String url = "https://download.teamviewer.com/download/TeamViewer_Setup_x64.exe";

View File

@ -1,12 +1,13 @@
package cn.hutool.http;
import cn.hutool.core.lang.Console;
import org.junit.Ignore;
import org.junit.Test;
public class IssueI5TPSYTest {
@Test
//@Ignore
@Ignore
public void redirectTest() {
final String url = "https://bsxt.gdzwfw.gov.cn/UnifiedReporting/auth/newIndex";
final HttpResponse res = HttpUtil.createGet(url).setFollowRedirects(true)