qt6-bb10/tests/auto/network/access/qnetworkreply
Mate Barany bb34c6fa6b Make QNAM handle all informational HTTP replies
Make QNetworkAccessManager to discard all informational (1xx) replies
from HTTP servers with the exception of 101.

According to RFC 9110:

"A client MUST be able to parse one or more 1xx responses received
prior to a final response, even if the client does not expect one.
A user agent MAY ignore unexpected 1xx responses."

Status code 101 is an exception because we use it to upgrade to http2
cleartext when it is enabled.

Fixes: QTBUG-108068
Change-Id: I415ff053180a43f0c7ff1b4b2a60fd114ce08ac9
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>
2024-02-06 19:10:45 +02:00
..
certs tst_qnetworkreply: replace server.pem/key pair 2022-07-15 22:42:43 +02:00
data QNetworkReply: Decompress when reading 2021-06-12 00:04:04 +02:00
echo Change license for tests files 2024-02-04 09:56:42 +01:00
test QtNetwork auto tests: compile with QT_NO_FOREACH 2023-08-22 21:50:38 +03:00
.gitattributes
.gitignore
4G.br QNetworkReply: Decompress when reading 2021-06-12 00:04:04 +02:00
BLACKLIST unblacklist passing tests 2022 2022-06-23 01:36:01 +02:00
CMakeLists.txt CMake: Make network tests standalone projects 2023-07-05 15:09:32 +02:00
bigfile
element.xml
empty
image1.jpg
image2.jpg
image3.jpg
index.html
resource
rfc3252.txt
smb-file.txt
testserver_index.html Rework QNetworkReply tests to use docker-based test servers 2018-07-27 17:40:27 +00:00
tst_qnetworkreply.cpp Make QNAM handle all informational HTTP replies 2024-02-06 19:10:45 +02:00