qt6-bb10/tests/auto/network/access
Marc Mutz 5677c111cb QFormData(Part)Builder: simplify filename formatting
We don't need the bodyName member, because it's the same as
originalBodyName, just encoded, and we can delay the encoding to
build() time.

This is not worse than the old code, since we anyway toString() the
QAnyStringView unconditionally.

So we don't need to visit the QASV and implement RFC2232 encoding for
all three view types, we can just use the QString version, after
toString().

This not only has the advantage of less code and not storing duplicate
data, but we now also encode u8"ä.txt" the same as "ä.txt"_L1 and
u"ä.txt", ie. using latin1, as required by Postel's Law, and not as
UTF-8, as the old code did.

Change-Id: If82a33a1cd09b859b3a4450a60083b1d3aedf7bc
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
2024-05-30 20:52:42 +02:00
..
hpack Change license for tests files 2024-02-04 09:56:42 +01:00
hsts Change license for tests files 2024-02-04 09:56:42 +01:00
http2 tst_http2: fix -Wunused-parameter warning 2024-05-22 15:47:50 +02:00
qabstractnetworkcache Fix test compilation issues with QtLite configuration 2024-05-06 14:29:02 +00:00
qdecompresshelper Change license for tests files 2024-02-04 09:56:42 +01:00
qformdatabuilder QFormData(Part)Builder: simplify filename formatting 2024-05-30 20:52:42 +02:00
qhttp2connection QHttp2Connection: fix handling of replies on locally initiated stream 2024-04-11 21:53:59 +02:00
qhttpheaderparser Change license for tests files 2024-02-04 09:56:42 +01:00
qhttpheaders CMake: Make a few more auto tests standalone 2024-03-14 01:14:18 +01:00
qhttpheadershelper Add QHttpHeaders to QNetworkRequest 2024-04-29 18:26:15 +02:00
qhttpnetworkconnection tst_QHttpNetworkConnection: Move to use only one ctor 2024-04-17 20:30:36 +02:00
qhttpnetworkreply Change license for tests files 2024-02-04 09:56:42 +01:00
qnetworkaccessmanager Change license for tests files 2024-02-04 09:56:42 +01:00
qnetworkcachemetadata Add QHttpHeaders methods to QNetworkCacheMetaData 2024-05-02 22:11:44 +02:00
qnetworkcookie Change license for tests files 2024-02-04 09:56:42 +01:00
qnetworkcookiejar Change license for tests files 2024-02-04 09:56:42 +01:00
qnetworkdiskcache Change license for tests files 2024-02-04 09:56:42 +01:00
qnetworkreply Improve test compilation setup with QtLite configuration 2024-05-10 09:04:44 +00:00
qnetworkreply_local Http: Add support for full localsocket paths 2024-05-24 22:36:59 +02:00
qnetworkrequest tst_QNetworkRequest: add test for operator==() 2024-05-07 21:28:59 +02:00
qnetworkrequestfactory CMake: Make a few more auto tests standalone 2024-03-14 01:14:18 +01:00
qrestaccessmanager Fix test compilation issues with QtLite configuration 2024-05-06 14:29:02 +00:00
CMakeLists.txt Add convenience classes to generate QHttpMultipart messages 2024-05-30 18:52:42 +00:00