commit | 65b9e12d4453c1eb09f26f0cd1cb4cc76b65f857 | [log] [tgz] |
---|---|---|
author | xinsnake <me@xyzhou.com> | Wed Aug 24 10:47:23 2016 +1000 |
committer | GitHub <noreply@github.com> | Wed Aug 24 10:47:23 2016 +1000 |
tree | 0c03a7da6248016b0bd947a476518ce14fbfa121 | |
parent | aaf803262f889196cfdb95c21a59426f6bb45717 [diff] |
Create 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(userId, userId, method, endUri, payload) response1, err := dr.Execute() // check error, get response // reuse the existing digest authentication request so no extra request is needed dr.UpdateRequest(userId, userId, "PUT", endUri, string(buf.Bytes())) response2, err := dr.Execute() // check error, get response
username*