Merge pull request #359 from wangkechun/patch-1
Update README.md
Showing
1 changed file
with
2 additions
and
2 deletions
| ... | @@ -46,9 +46,9 @@ if you want to debug the request info, set the debug on | ... | @@ -46,9 +46,9 @@ if you want to debug the request info, set the debug on |
| 46 | httplib.Get("").Debug(true) | 46 | httplib.Get("").Debug(true) |
| 47 | 47 | ||
| 48 | ## support HTTPS client | 48 | ## support HTTPS client |
| 49 | if request url is https. You can set the client support tsl: | 49 | if request url is https. You can set the client support tls: |
| 50 | 50 | ||
| 51 | httplib.SetTLSClientConfig(&tls.Config{InsecureSkipVerify: true}) | 51 | httplib.SetTLSClientConfig(&tls.Config{InsecureSkipVerify: true}) |
| 52 | 52 | ||
| 53 | more info about the tls.Config please visit http://golang.org/pkg/crypto/tls/#Config | 53 | more info about the tls.Config please visit http://golang.org/pkg/crypto/tls/#Config |
| 54 | |||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 54 | ... | ... |
-
Please register or sign in to post a comment