.autotest

git-svn-id: svn://ultimatepp.org/upp/trunk@11984 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2018-06-08 06:53:58 +00:00
parent 194940efb1
commit faba768601

View file

@ -60,14 +60,14 @@ CONSOLE_APP_MAIN
r.User("user", "passw0rd");
String h = r.Execute();
DUMP(h);
ASSERT(h.Find("\"authenticated\": true") >= 0);
ASSERT(h.Find("\"authenticated\":true") >= 0);
}
{
HttpRequest r("http://httpbin.org/digest-auth/auth/usr/pwd");
r.Digest("usr", "pwd");
String h = r.Execute();
DUMP(r.GetContent());
ASSERT(h.Find("\"authenticated\": true") >= 0);
ASSERT(h.Find("\"authenticated\":true") >= 0);
}
{
HttpRequest r("https://httpbin.org/bytes/0");