1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-22 18:10:54 +00:00

Merge pull request #359 from wangkechun/patch-1

Update README.md
This commit is contained in:
slene 2013-12-11 04:52:44 -08:00
commit 98d1f79ca4

View File

@ -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