Added two unittests that test whether or not opaque is an empty string, the qop value...
authorMichael Katz <45770613+microkatz@users.noreply.github.com>
Sun, 1 Mar 2020 16:27:39 +0000 (08:27 -0800)
committerGitHub <noreply@github.com>
Sun, 1 Mar 2020 16:27:39 +0000 (08:27 -0800)
commit2898e1ebe88272f803ef63854d79dbc13775fa0d
tree0798b9dff6ff39408fb8b02e68733ec4ee21561e
parent2a8eb322cf76ce387a472da88c707337052fa278
Added two unittests that test whether or not opaque is an empty string, the qop value is read to incorporate the correct hash algorithm for the digest challenge. Also adjusted the conditional in the challenge parse function to allow the opaque value to be an empty string (#32983)
src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/AuthenticationHelper.Digest.cs
src/libraries/System.Net.Http/tests/UnitTests/DigestAuthenticationTests.cs