Commit 20bc495f authored by François Cartegnie's avatar François Cartegnie 🤞 Committed by François Cartegnie
Browse files

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)
parent 15148299
Pipeline #138264 passed with stage
in 32 minutes and 46 seconds
......@@ -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 },
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment