From d40f88e8d23f9d5fdb08ff9a394d9697a0d86fc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5rten=20Nordheim?= Date: Wed, 6 May 2020 18:30:43 +0200 Subject: QDecompressHelper: Introduce zstd support Also take this opportunity to reshuffle the content-encodings in the intended ordering since the ordering is used to signify priority. Task-number: QTBUG-83269 Change-Id: I022eecf1ba03b54dbd9c98a9d63d05fb05fd2124 Reviewed-by: Thiago Macieira --- tests/auto/network/access/http2/tst_http2.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/auto/network/access/http2') diff --git a/tests/auto/network/access/http2/tst_http2.cpp b/tests/auto/network/access/http2/tst_http2.cpp index bc685e5ca9..0282942225 100644 --- a/tests/auto/network/access/http2/tst_http2.cpp +++ b/tests/auto/network/access/http2/tst_http2.cpp @@ -801,6 +801,11 @@ void tst_Http2::contentEncoding_data() "hello world"); #endif +#if QT_CONFIG(zstd) + contentEncodingData.emplace_back( + "zstd", QByteArray::fromBase64("KLUv/QRYWQAAaGVsbG8gd29ybGRoaR6y"), "hello world"); +#endif + // Loop through and add the data... for (const auto &data : contentEncodingData) { const char *name = data.contentEncoding.data(); -- cgit v1.2.3