qt6-bb10/tests/auto/network/access/qnetworkreply
Mate Barany f9b6666e1d Do not keep the headers and message body in case of temporary redirect
The implementation of GET requests with body (QTBUG-112871) keeps the
body after it has been redirected. However, in case of temporary
redirect (status code 307) this seems to be an incorrect behavior.

Reset the headers and the body in case of temporary redirect.

Change-Id: I10be702b017a42cca27a37dfe2249da2f59c0328
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
(cherry picked from commit f6a5c7e011d24db22afa5a3bf92749b9bb9e9354)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 5581c629221948058da043179a2be2e6442bc597)
2025-02-21 00:03:44 +00: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: make some QFile::open calls fail 2024-04-13 01:36:06 +02:00
test QTestLib: Add helper function to check for keychain access issues 2025-01-25 14:21:22 +00:00
.gitattributes
.gitignore
4G.br QNetworkReply: Decompress when reading 2021-06-12 00:04:04 +02:00
BLACKLIST tst_QNetworkReply: add more checks for blocking keychain 2024-11-07 01:13:50 +00:00
CMakeLists.txt CMake: Make network tests standalone projects 2023-07-05 15:09:32 +02:00
REUSE.toml Add REUSE.toml files 2024-11-07 08:38:49 +01: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 Do not keep the headers and message body in case of temporary redirect 2025-02-21 00:03:44 +00:00