diff options
author | Juha Vuolle <juha.vuolle@qt.io> | 2024-02-08 09:16:08 +0200 |
---|---|---|
committer | Juha Vuolle <juha.vuolle@qt.io> | 2024-02-08 17:02:52 +0200 |
commit | 68179f76053ee042a421dd4a1a27f3fbb185b475 (patch) | |
tree | cffb282de40249deb2accc6ae1e744cee53407ab /src/network | |
parent | 7288db6083ea1e181fc8ac6e06c2ee3f603cf175 (diff) |
Change type of internal locationHeader constexpr to QL1SV
QL1SV is what QNetworkReply::rawHeader() ingests, and also it's what
QHttpHeaders::nameAt() returns.
Pick-to: 6.7
Change-Id: I967416cf6f203fe0f0980ef7eae2de7efc6d5377
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/access/qnetworkreplyhttpimpl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/access/qnetworkreplyhttpimpl.cpp b/src/network/access/qnetworkreplyhttpimpl.cpp index 26c0926c7f..acb9164372 100644 --- a/src/network/access/qnetworkreplyhttpimpl.cpp +++ b/src/network/access/qnetworkreplyhttpimpl.cpp @@ -1303,7 +1303,7 @@ void QNetworkReplyHttpImplPrivate::followRedirect() q, [this]() { postRequest(redirectRequest); }, Qt::QueuedConnection); } -static constexpr QByteArrayView locationHeader() noexcept { return "location"; } +static constexpr QLatin1StringView locationHeader() noexcept { return "location"_L1; } void QNetworkReplyHttpImplPrivate::checkForRedirect(const int statusCode) { |