[🚀] InsecureSkipVerify

This commit is contained in:
2024-09-06 15:37:13 +08:00
parent 3bc6282168
commit bbf89b2f08
5 changed files with 98 additions and 52 deletions

View File

@ -24,6 +24,7 @@ func TestNewDownloader(t *testing.T) {
controller.WithCookie(nil),
controller.WithProxy(http.ProxyURL(parse)), // todo: use http client proxy
controller.WithTimeout(time.Second*3),
controller.WithInsecureSkipVerify(true),
).URL("http://10.0.1.34/com.tencent.tmgp.jxqy.apk").
Listener(func(event *Event) {
if event.Key == EventKeyFinally {