Skip to content

Commit

Permalink
Network: Add a note about ReasonPhrase not being available in h2
Browse files Browse the repository at this point in the history
It's always been like this, but the documentation never said so.
See httpwg/http2-spec#202 for why.

Task-number: QTBUG-126278
Pick-to: 6.7 6.5
Change-Id: Ie83b105dd78fc1c6c09db46ae8cb5e113cd8a062
Reviewed-by: Mate Barany <[email protected]>
(cherry picked from commit 365a1ba)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
  • Loading branch information
Morten242 authored and Qt Cherry-pick Bot committed Jun 14, 2024
1 parent 40dda06 commit fd37035
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/network/access/qnetworkrequest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit fd37035

Please sign in to comment.