add config

This commit is contained in:
Looly
2025-01-16 01:18:05 +08:00
parent f6dad69c7f
commit ca93693a86
7 changed files with 70 additions and 47 deletions

View File

@@ -52,6 +52,7 @@ public class DownloadTest {
}
@Test
@Disabled
void downloadWithHeaderTest() {
HttpDownloader.of("https://hutool.cn/")
.header(MapUtil.of("Authorization", "token"))