qt5base-lts/tests/auto/network
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
..
access tst_http2: increase testing for authenticationRequired 2023-11-15 13:18:13 +02:00
kernel tst_QDnsLookup: fix typo in CMakeListst.txt 2023-09-04 14:17:12 -07:00
selftest Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
socket QAbstractSocketEngine: port to QDeadlineTimer 2023-10-07 02:28:12 +03:00
ssl Use SSL_CTX_set_dh_auto if DHparam is empty 2023-10-25 17:23:13 +02:00
CMakeLists.txt Rid of 'special case' markers 2023-04-13 18:30:58 +02:00