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