summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMårten Nordheim <[email protected]>2024-06-12 15:20:45 +0200
committerMårten Nordheim <[email protected]>2024-06-14 13:17:38 +0200
commit365a1ba7d9a3d731968cb053d5d0677c7a372e0f (patch)
tree2c8a9085dd458a566ad912c95f15b7a96ec8e861
parent57c49528245550c9fab1915b551abf8fd0eac019 (diff)
Network: Add a note about ReasonPhrase not being available in h2
It's always been like this, but the documentation never said so. See https://github.com/httpwg/http2-spec/issues/202 for why. Task-number: QTBUG-126278 Pick-to: 6.8 6.7 6.5 Change-Id: Ie83b105dd78fc1c6c09db46ae8cb5e113cd8a062 Reviewed-by: Mate Barany <[email protected]>
-rw-r--r--src/network/access/qnetworkrequest.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/network/access/qnetworkrequest.cpp b/src/network/access/qnetworkrequest.cpp
index 0e1172b15c8..2fb467d3a85 100644
--- a/src/network/access/qnetworkrequest.cpp
+++ b/src/network/access/qnetworkrequest.cpp
@@ -144,7 +144,8 @@ QT_IMPL_METATYPE_EXTERN_TAGGED(QNetworkRequest::RedirectPolicy, QNetworkRequest_
server (like "Ok", "Found", "Not Found", "Access Denied",
etc.) This is the human-readable representation of the status
code (see above). If the connection was not HTTP-based, this
- attribute will not be present.
+ attribute will not be present. \e{Note:} The reason phrase is
+ not used when using HTTP/2.
\value RedirectionTargetAttribute
Replies only, type: QMetaType::QUrl (no default)