Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qhttpheadershelper.cpp
Go to the documentation of this file.
1
// Copyright (C) 2024 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
// Qt-Security score:significant reason:default
4
5
#
include
"qhttpheadershelper_p.h"
6
7
#
include
<
QtNetwork
/
qhttpheaders
.
h
>
8
9
QT_BEGIN_NAMESPACE
10
11
bool
QHttpHeadersHelper
::
compareStrict
(
const
QHttpHeaders
&left,
const
QHttpHeaders
&right)
12
{
13
if
(left.size() != right.size())
14
return
false
;
15
16
for
(qsizetype i = 0; i < left.size(); ++i) {
17
if
(left.nameAt(i) != right.nameAt(i))
18
return
false
;
19
if
(left.valueAt(i) != right.valueAt(i))
20
return
false
;
21
}
22
23
return
true
;
24
}
25
26
QT_END_NAMESPACE
QHttpHeaders
Definition
qhttpheaders.h:23
QHttpHeadersHelper
Definition
qhttpheadershelper_p.h:25
QHttpHeadersHelper::compareStrict
Q_NETWORK_EXPORT bool compareStrict(const QHttpHeaders &left, const QHttpHeaders &right)
Definition
qhttpheadershelper.cpp:11
QPlatformGraphicsBufferHelper
\inmodule QtGui
qtbase
src
network
access
qhttpheadershelper.cpp
Generated on
for Qt by
1.14.0