This commit is contained in:
Looly
2022-10-27 03:21:40 +08:00
parent 11f47e5b0f
commit 35a8f5e281
30 changed files with 1039 additions and 925 deletions

View File

@@ -184,22 +184,6 @@ public class HttpRequestTest {
Console.log(execute.getStatus(), execute.header(Header.LOCATION));
}
@Test
@Ignore
public void addInterceptorTest() {
HttpUtil.createGet("https://hutool.cn")
.addInterceptor(Console::log)
.addResponseInterceptor((res)-> Console.log(res.getStatus()))
.execute();
}
@Test
@Ignore
public void addGlobalInterceptorTest() {
GlobalInterceptor.INSTANCE.addRequestInterceptor(Console::log);
HttpUtil.createGet("https://hutool.cn").execute();
}
@Test
@Ignore
public void getWithFormTest(){