commit | bb704c7a5292f23a734ab74d44ecca0e4cb61bce | [log] [tgz] |
---|---|---|
author | Xinyun Zhou <me@xyzhou.com> | Wed Aug 24 10:50:11 2016 +1000 |
committer | Xinyun Zhou <me@xyzhou.com> | Wed Aug 24 10:50:11 2016 +1000 |
tree | 8a665951e495162482b69a0a41f0bdf28e2d99bf | |
parent | 65b9e12d4453c1eb09f26f0cd1cb4cc76b65f857 [diff] |
updated README.md
Golang Http Digest Authentication Client
This client implements RFC7616 HTTP Digest Access Authentication and by now the basic features should work.
// import import dac "github.com/xinsnake/go-http-digest-auth-client" // create a new digest authentication request dr := dac.NewRequest(username, password, method, uri, payload) response1, err := dr.Execute() // check error, get response // reuse the existing digest authentication request so no extra request is needed dr.UpdateRequest(username, password, method, uri, payload) response2, err := dr.Execute() // check error, get response
username*