diff options
author | Øystein Heskestad <oystein.heskestad@qt.io> | 2021-08-03 16:31:52 +0200 |
---|---|---|
committer | Øystein Heskestad <oystein.heskestad@qt.io> | 2021-09-09 16:55:50 +0200 |
commit | 9a602e68cf9dd29638027894032b6052c0526426 (patch) | |
tree | 288622ec0b595a7ecbd33413c3ff0a2b13e9b9c3 /tests/auto/network/access | |
parent | 1fb242ba9f9b7d96c34acafadac3815821ea2f7d (diff) |
Move QNAM's http header parsing into separate class
Fixes: QTBUG-80701
Change-Id: I43f5e102c15d121dba74e07e3cd4bb8aded1c763
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'tests/auto/network/access')
-rw-r--r-- | tests/auto/network/access/http2/http2srv.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/network/access/http2/http2srv.cpp b/tests/auto/network/access/http2/http2srv.cpp index bfd1ad4b80..8a4917049e 100644 --- a/tests/auto/network/access/http2/http2srv.cpp +++ b/tests/auto/network/access/http2/http2srv.cpp @@ -382,7 +382,7 @@ bool Http2Server::verifyProtocolUpgradeRequest() QHttpNetworkReplyPrivate *firstRequestReader = protocolUpgradeHandler->d_func(); // That's how we append them, that's what I expect to find: - for (const auto &header : firstRequestReader->fields) { + for (const auto &header : firstRequestReader->headers()) { if (header.first == "Connection") connectionOk = header.second.contains("Upgrade, HTTP2-Settings"); else if (header.first == "Upgrade") |