Browse Source

test: keystore: check querying without providing realm

HTTP realm is provided by reply headers. Sending it proactively
can then only be done by matching the url. (RFC 7617)
pull/128/head
Francois Cartegnie 5 years ago
committed by François Cartegnie
parent
commit
20bc495f72
  1. 6
      test/src/misc/keystore.c

6
test/src/misc/keystore.c

@ -165,6 +165,12 @@ static const struct testcase
{ true, HTTP("ex.com/testing/good_path/ks_find_realm", "Realm"),
{ "user4", "pwd4", "Realm", "Basic" }, {}, {}, false },
{ true, HTTP("ex.com/testing/good_path/ks_find_realm", NULL),
{ "user4", "pwd4", "Realm", "Basic" }, {}, {}, false },
{ false, HTTP("ex.com/testing/wrong_path/ks_find_realm", NULL),
{}, {}, {}, false },
{ true, HTTP("ex.com/testing/good_path/another_path/ks_find_realm", "Realm"),
{ "user4", "pwd4", "Realm", "Basic" }, {}, {}, false },

Loading…
Cancel
Save