Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add methods to support client request digest authentication #1931
Added the method to generate digest authentication request header from the response digest parameters.
Also added the example to test it.
If I understand it correctly, cnonce should be the same if the server uses the previous nonce and nc just incremented in following client requests.
Is this the correct way of thinking to provide facilities to implement digest authentication for the client calls properly?
Thanks, this looks good overall. It would be nice though to reuse
DigestAuthParams in the existing
checkDigest to avoid duplicating the parsing code.