Document that QNetworkRequest::setRawHeader() lowercases header names
Pick-to: 6.8 Fixes: QTBUG-131474 Change-Id: I3637fb989000cdb991969aa46b9552e52dacad49 Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
This commit is contained in:
parent
0abcb9bef8
commit
a3e2f34abd
@ -731,6 +731,9 @@ QList<QByteArray> QNetworkRequest::rawHeaderList() const
|
|||||||
the same name, you should concatenate the two values, separating
|
the same name, you should concatenate the two values, separating
|
||||||
them with a comma (",") and set one single raw header.
|
them with a comma (",") and set one single raw header.
|
||||||
|
|
||||||
|
\note Since Qt 6.8, the header field names are normalized
|
||||||
|
by converting them to lowercase.
|
||||||
|
|
||||||
\sa KnownHeaders, setHeader(), hasRawHeader(), rawHeader()
|
\sa KnownHeaders, setHeader(), hasRawHeader(), rawHeader()
|
||||||
*/
|
*/
|
||||||
void QNetworkRequest::setRawHeader(const QByteArray &headerName, const QByteArray &headerValue)
|
void QNetworkRequest::setRawHeader(const QByteArray &headerName, const QByteArray &headerValue)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user