qt6-bb10/tests/auto/network/access/qnetworkreply
Mate Barany 0345f07dd1 Support body for an HTTP GET request
Add two overloads to QNetworkAccessManager to support GET requests
with body.

Modify QNetworkReplyHttpImpl as well as these requests should not
be cached.

If the request is redirected it is possible that its type changes
from POST/PUT to GET and in this case the message body is deleted.
However, if a GET request has a body it should keep it after it has
been redirected - modify QNetworkReplyHttpImpl to keep the message
body after it has been redirected.

Fixes: QTBUG-112871
Change-Id: Ib01898638ed94238a98291870a5c51d56030868a
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>
2023-10-17 21:23:42 +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 tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +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 Support body for an HTTP GET request 2023-10-17 21:23:42 +02:00