We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffb59d0 commit 93573f5Copy full SHA for 93573f5
lib/src/digest_authentication.dart
@@ -122,7 +122,7 @@ class DigestAuthentication {
122
}
123
124
// 'qop' can contain a list of values (Array). Let's choose just one.
125
- if (challenge.qop != null) {
+ if (challenge.qop != null && challenge.qop.isNotEmpty) {
126
if (challenge.qop.indexOf('auth-int') > -1) {
127
_qop = 'auth-int';
128
} else if (challenge.qop.indexOf('auth') > -1) {
0 commit comments