guonaihong / gout

gout to become the Swiss Army Knife of the http client @^^@---> gout 是http client领域的瑞士军刀,小巧,强大,犀利。具体用法可看文档,如使用迷惑或者API用得不爽都可提issues

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

设置了gout.WithInsecureSkipVerify() 忽略SSL 代理就会失效 ,socks5/http/https 都会出现这种情况

m7rick opened this issue · comments

package main

import (
	"github.com/guonaihong/gout"
)

func main() {

	client := gout.NewWithOpt(gout.WithProxy("http://127.0.0.1:7897"), gout.WithInsecureSkipVerify())

	client.GET("https://api.ipify.org?format=json").Debug(true).Do()
}

设置了gout.WithInsecureSkipVerify() 忽略SSL 代理就会失效 ,socks5/http/https 都会出现这种情况

我看下。

试下master上面的最新commit 6081e7f

可以了,谢谢作者了