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

This commit is contained in:
Looly
2023-01-15 11:21:21 +08:00
parent 554b828745
commit 247d79a4fb
4 changed files with 13 additions and 3 deletions

View File

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