HttpGlobalConfig.allowPatch()调用时忽略错误

This commit is contained in:
Looly 2023-01-15 11:22:44 +08:00
parent 247d79a4fb
commit 78a14dc345
2 changed files with 10 additions and 5 deletions

View File

@ -0,0 +1,10 @@
package cn.hutool.http;
import org.junit.Test;
public class HttpGlobalConfigTest {
@Test
public void allowPatchTest() {
HttpGlobalConfig.allowPatch();
}
}

View File

@ -378,9 +378,4 @@ public class HttpUtilTest {
final HttpRequest request = HttpRequest.of(url).method(Method.GET);
Console.log(request.execute().body());
}
@Test
public void allowPatchTest() {
HttpGlobalConfig.allowPatch();
}
}