mirror of
https://github.com/pocoproject/poco.git
synced 2025-03-31 07:58:24 +02:00
added test for ws/wss schemes
This commit is contained in:
parent
c337634b8e
commit
f848106fca
@ -437,6 +437,13 @@ void URITest::testParse()
|
||||
assert (uri.getFragment().empty());
|
||||
assert (uri.isRelative());
|
||||
|
||||
uri = "ws://www.appinf.com/ws";
|
||||
assert (uri.getScheme() == "ws");
|
||||
assert (uri.getPort() == 80);
|
||||
|
||||
uri = "wss://www.appinf.com/ws";
|
||||
assert (uri.getScheme() == "wss");
|
||||
assert (uri.getPort() == 443);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user