qt5base-lts/tests/auto/network/access
Mårten Nordheim f4c8e11ad7 tst_http2: increase testing for authenticationRequired
Make sure the reply is marked as finished and that the body is received
even if we didn't succeed.

In a real scenario that would include some text like Access Denied.

Also, no longer clear() the authenticationHeader in the server, since
that meant the server would not send the header again if the client
failed to authenticate. Luckily this wasn't actually causing any
problems before, since we only tested the expected www-authenticate
header.

As a drive-by: clang-tidy complained about not using const-ref for a
lambda.

Pick-to: 6.6 6.5 6.2
Change-Id: Ia4452fff7d9370d7d460433257d84eff0a6f469b
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2023-11-15 13:18:13 +02:00
..
hpack CMake: Make network tests standalone projects 2023-07-05 15:09:32 +02:00
hsts CMake: Make network tests standalone projects 2023-07-05 15:09:32 +02:00
http2 tst_http2: increase testing for authenticationRequired 2023-11-15 13:18:13 +02:00
qabstractnetworkcache CMake: Make network tests standalone projects 2023-07-05 15:09:32 +02:00
qdecompresshelper CMake: Make network tests standalone projects 2023-07-05 15:09:32 +02:00
qhttpheaderparser CMake: Make network tests standalone projects 2023-07-05 15:09:32 +02:00
qhttpnetworkconnection CMake: Make network tests standalone projects 2023-07-05 15:09:32 +02:00
qhttpnetworkreply CMake: Make network tests standalone projects 2023-07-05 15:09:32 +02:00
qnetworkaccessmanager CMake: Make network tests standalone projects 2023-07-05 15:09:32 +02:00
qnetworkcachemetadata CMake: Make network tests standalone projects 2023-07-05 15:09:32 +02:00
qnetworkcookie CMake: Make network tests standalone projects 2023-07-05 15:09:32 +02:00
qnetworkcookiejar Update public suffix list 2023-09-20 22:33:18 +02:00
qnetworkdiskcache QtNetwork auto tests: compile with QT_NO_FOREACH 2023-08-22 21:50:38 +03:00
qnetworkreply Support body for an HTTP GET request 2023-10-17 21:23:42 +02:00
qnetworkrequest tests: port assorted trivial uses of Q_FOREACH to ranged for loops 2023-08-14 23:11:54 +03:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00