mirror of
https://github.com/astaxie/beego.git
synced 2024-12-22 20:10:50 +00:00
commit
98d1f79ca4
@ -46,9 +46,9 @@ if you want to debug the request info, set the debug on
|
||||
httplib.Get("").Debug(true)
|
||||
|
||||
## support HTTPS client
|
||||
if request url is https. You can set the client support tsl:
|
||||
if request url is https. You can set the client support tls:
|
||||
|
||||
httplib.SetTLSClientConfig(&tls.Config{InsecureSkipVerify: true})
|
||||
|
||||
more info about the tls.Config please visit http://golang.org/pkg/crypto/tls/#Config
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user