mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 23:30:54 +00:00
commit
98d1f79ca4
@ -46,7 +46,7 @@ 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})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user