********* Start testing of tst_NetworkSelfTest *********
Config: Using QtTest library 6.11.0, Qt 6.11.0 (arm64-little_endian-lp64 shared (dynamic) debug build; by Apple LLVM 17.0.0 (clang-1700.3.19.1)), macos 26.0.0
PASS   : tst_NetworkSelfTest::initTestCase()
QDEBUG : tst_NetworkSelfTest::httpServer() 0 Connecting to server on port 80
QDEBUG : tst_NetworkSelfTest::httpServer() 1 Sending "GET /\\r\\n"
QDEBUG : tst_NetworkSelfTest::httpServer() 2 Waiting for remote disconnect
QDEBUG : tst_NetworkSelfTest::httpServer() 2 Discarded in the process: "<h1>Welcome to qt-test-server</h1>\\n<img src=\\\"gif/fluke.gif\\\" alt=\\\"fluke\\\">\\n<p>This is a network test server. It serves as a cacheing ftp and http proxy, transparent http/socks5 proxy, imap, ftp and http server, plus more.</p>\\n"
QDEBUG : tst_NetworkSelfTest::httpServer() 3 Reconnecting to server on port 80
QDEBUG : tst_NetworkSelfTest::httpServer() 4 Sending "GET / HTTP/1.0\\r\\nHost: qt-test-server.qt-test-net\\r\\nConnection: close\\r\\n\\r\\n"
QDEBUG : tst_NetworkSelfTest::httpServer() 5 Expecting "HTTP/1."
QDEBUG : tst_NetworkSelfTest::httpServer() 6 Discarding until " "
QDEBUG : tst_NetworkSelfTest::httpServer() 6 Discarded "1 "
QDEBUG : tst_NetworkSelfTest::httpServer() 7 Expecting "200 "
QDEBUG : tst_NetworkSelfTest::httpServer() 8 Waiting for remote disconnect
QDEBUG : tst_NetworkSelfTest::httpServer() 8 Discarded in the process: "OK\\r\\nDate: Tue, 07 Oct 2025 13:10:27 GMT\\r\\nServer: Apache/2.2.14 (Ubuntu)\\r\\nLast-Modified: Sat, 15 Nov 2008 13:52:00 GMT\\r\\nETag: \\\"240c-e0-45bbaa65d0000\\\"\\r\\nAccept-Ranges: bytes\\r\\nContent-Length: 224\\r\\nConnection: close\\r\\nContent-Type: text/html\\r\\n\\r\\n<h1>Welcome to qt-test-server</h1>\\n<img src=\\\"gif/fluke.gif\\\" alt=\\\"fluke\\\">\\n<p>This is a network test server. It serves as a cacheing ftp and http proxy, transparent http/socks5 proxy, imap, ftp and http server, plus more.</p>\\n"
QDEBUG : tst_NetworkSelfTest::httpServer() 9 Reconnecting to server on port 80
QDEBUG : tst_NetworkSelfTest::httpServer() 10 Sending "POST / HTTP/1.0\\r\\nContent-Length: 5\\r\\nHost: qt-test-server.qt-test-net\\r\\nConnection: close\\r\\n\\r\\nHello"
QDEBUG : tst_NetworkSelfTest::httpServer() 11 Expecting "HTTP/1."
QDEBUG : tst_NetworkSelfTest::httpServer() 12 Discarding until " "
QDEBUG : tst_NetworkSelfTest::httpServer() 12 Discarded "1 "
QDEBUG : tst_NetworkSelfTest::httpServer() 13 Expecting "200 "
QDEBUG : tst_NetworkSelfTest::httpServer() 14 Waiting for remote disconnect
QDEBUG : tst_NetworkSelfTest::httpServer() 14 Discarded in the process: "OK\\r\\nDate: Tue, 07 Oct 2025 13:10:27 GMT\\r\\nServer: Apache/2.2.14 (Ubuntu)\\r\\nLast-Modified: Sat, 15 Nov 2008 13:52:00 GMT\\r\\nETag: \\\"240c-e0-45bbaa65d0000\\\"\\r\\nAccept-Ranges: bytes\\r\\nContent-Length: 224\\r\\nConnection: close\\r\\nContent-Type: text/html\\r\\n\\r\\n<h1>Welcome to qt-test-server</h1>\\n<img src=\\\"gif/fluke.gif\\\" alt=\\\"fluke\\\">\\n<p>This is a network test server. It serves as a cacheing ftp and http proxy, transparent http/socks5 proxy, imap, ftp and http server, plus more.</p>\\n"
QDEBUG : tst_NetworkSelfTest::httpServer() 15 Reconnecting to server on port 80
QDEBUG : tst_NetworkSelfTest::httpServer() 16 Sending "GET /qtest/protected/rfc3252.txt HTTP/1.0\\r\\nHost: qt-test-server.qt-test-net\\r\\nConnection: close\\r\\n\\r\\n"
QDEBUG : tst_NetworkSelfTest::httpServer() 17 Expecting "HTTP/1."
QDEBUG : tst_NetworkSelfTest::httpServer() 18 Discarding until " "
QDEBUG : tst_NetworkSelfTest::httpServer() 18 Discarded "1 "
QDEBUG : tst_NetworkSelfTest::httpServer() 19 Expecting "401 "
QDEBUG : tst_NetworkSelfTest::httpServer() 20 Waiting for remote disconnect
QDEBUG : tst_NetworkSelfTest::httpServer() 20 Discarded in the process: "Authorization Required\\r\\nDate: Tue, 07 Oct 2025 13:10:27 GMT\\r\\nServer: Apache/2.2.14 (Ubuntu)\\r\\nWWW-Authenticate: Basic realm=\\\"password-protected area\\\"\\r\\nContent-Length: 493\\r\\nConnection: close\\r\\nContent-Type: text/html; charset=iso-8859-1\\r\\n\\r\\n<!DOCTYPE HTML PUBLIC \\\"-//IETF//DTD HTML 2.0//EN\\\">\\n<html><head>\\n<title>401 Authorization Required</title>\\n</head><body>\\n<h1>Authorization Required</h1>\\n<p>This server could not verify that you\\nare authorized to access the document\\nrequested.  Either you supplied the wrong\\ncredentials (e.g., bad password), or your\\nbrowser doesn't understand how to supply\\nthe credentials required.</p>\\n<hr>\\n<address>Apache/2.2.14 (Ubuntu) Server at qt-test-server.qt-test-net Port 80</address>\\n</body></html>\\n"
QDEBUG : tst_NetworkSelfTest::httpServer() 21 Reconnecting to server on port 80
QDEBUG : tst_NetworkSelfTest::httpServer() 22 Sending "HEAD /qtest/protected/rfc3252.txt HTTP/1.0\\r\\nHost: qt-test-server.qt-test-net\\r\\nConnection: close\\r\\nAuthorization: Basic cXNvY2tzdGVzdDpwYXNzd29yZA==\\r\\n\\r\\n"
QDEBUG : tst_NetworkSelfTest::httpServer() 23 Expecting "HTTP/1."
QDEBUG : tst_NetworkSelfTest::httpServer() 24 Discarding until " "
QDEBUG : tst_NetworkSelfTest::httpServer() 24 Discarded "1 "
QDEBUG : tst_NetworkSelfTest::httpServer() 25 Expecting "200 "
QDEBUG : tst_NetworkSelfTest::httpServer() 26 Waiting for remote disconnect
QDEBUG : tst_NetworkSelfTest::httpServer() 26 Discarded in the process: "OK\\r\\nDate: Tue, 07 Oct 2025 13:10:27 GMT\\r\\nServer: Apache/2.2.14 (Ubuntu)\\r\\nLast-Modified: Fri, 21 Sep 2012 05:32:18 GMT\\r\\nETag: \\\"242d-656a-4ca2f90330f9a\\\"\\r\\nAccept-Ranges: bytes\\r\\nContent-Length: 25962\\r\\nConnection: close\\r\\nContent-Type: text/plain\\r\\nX-Pad: avoid browser bug\\r\\n\\r\\n"
QDEBUG : tst_NetworkSelfTest::httpServer() 27 Reconnecting to server on port 80
QDEBUG : tst_NetworkSelfTest::httpServer() 28 Sending "HEAD /dav/ HTTP/1.0\\r\\nHost: qt-test-server.qt-test-net\\r\\nConnection: close\\r\\n\\r\\n"
QDEBUG : tst_NetworkSelfTest::httpServer() 29 Expecting "HTTP/1."
QDEBUG : tst_NetworkSelfTest::httpServer() 30 Discarding until " "
QDEBUG : tst_NetworkSelfTest::httpServer() 30 Discarded "1 "
QDEBUG : tst_NetworkSelfTest::httpServer() 31 Expecting "200 "
QDEBUG : tst_NetworkSelfTest::httpServer() 32 Waiting for remote disconnect
QDEBUG : tst_NetworkSelfTest::httpServer() 32 Discarded in the process: "OK\\r\\nDate: Tue, 07 Oct 2025 13:10:27 GMT\\r\\nServer: Apache/2.2.14 (Ubuntu)\\r\\nConnection: close\\r\\nContent-Type: text/html;charset=UTF-8\\r\\n\\r\\n"
QDEBUG : tst_NetworkSelfTest::httpServer() 33 Reconnecting to server on port 80
QDEBUG : tst_NetworkSelfTest::httpServer() 34 Sending "PUT /dav/networkselftest-61564248647833487951759842624.txt HTTP/1.0\\r\\nContent-Length: 5\\r\\nHost: qt-test-server.qt-test-net\\r\\nConnection: close\\r\\n\\r\\nHello"
QDEBUG : tst_NetworkSelfTest::httpServer() 35 Expecting "HTTP/1."
QDEBUG : tst_NetworkSelfTest::httpServer() 36 Discarding until " "
QDEBUG : tst_NetworkSelfTest::httpServer() 36 Discarded "1 "
QDEBUG : tst_NetworkSelfTest::httpServer() 37 Expecting "201 "
QDEBUG : tst_NetworkSelfTest::httpServer() 38 Waiting for remote disconnect
QDEBUG : tst_NetworkSelfTest::httpServer() 38 Discarded in the process: "Created\\r\\nDate: Tue, 07 Oct 2025 13:10:27 GMT\\r\\nServer: Apache/2.2.14 (Ubuntu)\\r\\nLocation: http://qt-test-server.qt-test-net/dav/networkselftest-61564248647833487951759842624.txt\\r\\nContent-Length: 320\\r\\nConnection: close\\r\\nContent-Type: text/html; charset=ISO-8859-1\\r\\n\\r\\n<!DOCTYPE HTML PUBLIC \\\"-//IETF//DTD HTML 2.0//EN\\\">\\n<html><head>\\n<title>201 Created</title>\\n</head><body>\\n<h1>Created</h1>\\n<p>Resource /dav/networkselftest-61564248647833487951759842624.txt has been created.</p>\\n<hr />\\n<address>Apache/2.2.14 (Ubuntu) Server at qt-test-server.qt-test-net Port 80</address>\\n</body></html>\\n"
QDEBUG : tst_NetworkSelfTest::httpServer() 39 Reconnecting to server on port 80
QDEBUG : tst_NetworkSelfTest::httpServer() 40 Sending "HEAD /dav/networkselftest-61564248647833487951759842624.txt HTTP/1.0\\r\\nHost: qt-test-server.qt-test-net\\r\\nConnection: close\\r\\n\\r\\n"
QDEBUG : tst_NetworkSelfTest::httpServer() 41 Expecting "HTTP/1."
QDEBUG : tst_NetworkSelfTest::httpServer() 42 Discarding until " "
QDEBUG : tst_NetworkSelfTest::httpServer() 42 Discarded "1 "
QDEBUG : tst_NetworkSelfTest::httpServer() 43 Expecting "200 "
QDEBUG : tst_NetworkSelfTest::httpServer() 44 Discarding until "\\r\\nContent-Length: 5\\r\\n"
QDEBUG : tst_NetworkSelfTest::httpServer() 44 Discarded "OK\\r\\nDate: Tue, 07 Oct 2025 13:10:27 GMT\\r\\nServer: Apache/2.2.14 (Ubuntu)\\r\\nLast-Modified: Tue, 07 Oct 2025 13:10:27 GMT\\r\\nETag: W/\\\"4843-5-640914ab1ca7d\\\"\\r\\nAccept-Ranges: bytes\\r\\nContent-Length: 5\\r\\n"
QDEBUG : tst_NetworkSelfTest::httpServer() 45 Waiting for remote disconnect
QDEBUG : tst_NetworkSelfTest::httpServer() 45 Discarded in the process: "Connection: close\\r\\nContent-Type: text/plain\\r\\n\\r\\n"
QDEBUG : tst_NetworkSelfTest::httpServer() 46 Reconnecting to server on port 80
QDEBUG : tst_NetworkSelfTest::httpServer() 47 Sending "DELETE /dav/networkselftest-61564248647833487951759842624.txt HTTP/1.0\\r\\nHost: qt-test-server.qt-test-net\\r\\nConnection: close\\r\\n\\r\\n"
QDEBUG : tst_NetworkSelfTest::httpServer() 48 Expecting "HTTP/1."
QDEBUG : tst_NetworkSelfTest::httpServer() 49 Discarding until " "
QDEBUG : tst_NetworkSelfTest::httpServer() 49 Discarded "1 "
QDEBUG : tst_NetworkSelfTest::httpServer() 50 Expecting "204 "
QDEBUG : tst_NetworkSelfTest::httpServer() 51 Waiting for remote disconnect
QDEBUG : tst_NetworkSelfTest::httpServer() 51 Discarded in the process: "No Content\\r\\nDate: Tue, 07 Oct 2025 13:10:27 GMT\\r\\nServer: Apache/2.2.14 (Ubuntu)\\r\\nContent-Length: 0\\r\\nConnection: close\\r\\nContent-Type: text/plain\\r\\n\\r\\n"
PASS   : tst_NetworkSelfTest::httpServer()
PASS   : tst_NetworkSelfTest::cleanupTestCase()
Totals: 3 passed, 0 failed, 0 skipped, 0 blacklisted, 8129ms
********* Finished testing of tst_NetworkSelfTest *********
