Index: tests/standalone/io/http_auth_digest_test.dart |
diff --git a/tests/standalone/io/http_auth_digest_test.dart b/tests/standalone/io/http_auth_digest_test.dart |
index 70e1451b146b0efac5f66de0985a04455fe08ffc..720ed148e5c2646b84f58a9d9711401397409e58 100644 |
--- a/tests/standalone/io/http_auth_digest_test.dart |
+++ b/tests/standalone/io/http_auth_digest_test.dart |
@@ -67,7 +67,7 @@ class Server { |
HeaderValue header = |
HeaderValue.parse( |
authorization, parameterSeparator: ","); |
- if (header.value == "basic") { |
+ if (header.value.toLowerCase() == "basic") { |
sendUnauthorizedResponse(response); |
} else if (!useNextNonce && nonceCount == nonceStaleAfter) { |
nonce = "87654321"; |
@@ -78,7 +78,7 @@ class Server { |
var qop = header.parameters["qop"]; |
var cnonce = header.parameters["cnonce"]; |
var nc = header.parameters["nc"]; |
- Expect.equals("digest", header.value); |
+ Expect.equals("digest", header.value.toLowerCase()); |
Expect.equals("dart", header.parameters["username"]); |
Expect.equals(realm, header.parameters["realm"]); |
Expect.equals("MD5", header.parameters["algorithm"]); |