Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qnetworkreplyhttpimpl.cpp File Reference

(cb8e5e0dd965b849a88ba971e3dc90169d4dc7ce)

#include "qnetworkreplyhttpimpl_p.h"
#include "qnetworkaccessmanager_p.h"
#include "qnetworkaccesscache_p.h"
#include "qabstractnetworkcache.h"
#include "qnetworkrequest.h"
#include "qnetworkreply.h"
#include "qnetworkrequest_p.h"
#include "qnetworkcookie.h"
#include "qnetworkcookie_p.h"
#include "QtCore/qdatetime.h"
#include "QtCore/qelapsedtimer.h"
#include "QtNetwork/qsslconfiguration.h"
#include "qhttpthreaddelegate_p.h"
#include "qhsts_p.h"
#include "qthread.h"
#include "QtCore/qcoreapplication.h"
#include <QtCore/private/qthread_p.h>
#include <QtCore/private/qtools_p.h>
#include "qnetworkcookiejar.h"
#include "qnetconmonitor_p.h"
#include "qnetworkreplyimpl_p.h"
#include <string.h>
#include "moc_qnetworkreplyhttpimpl_p.cpp"
+ Include dependency graph for qnetworkreplyhttpimpl.cpp:

Go to the source code of this file.

Functions

static QByteArray rangeName ()
 
static QByteArray cacheControlName ()
 
static constexpr QByteArrayView bytesEqualPrefix () noexcept
 
static QHash< QByteArray, QByteArrayparseHttpOptionHeader (QByteArrayView header)
 
static constexpr QLatin1StringView locationHeader () noexcept
 
static auto caseInsensitiveCompare (QByteArrayView value)
 
static bool isHopByHop (QByteArrayView header)
 

Function Documentation

◆ bytesEqualPrefix()

static constexpr QByteArrayView bytesEqualPrefix ( )
staticconstexprnoexcept

Definition at line 43 of file qnetworkreplyhttpimpl.cpp.

Referenced by QNetworkReplyHttpImplPrivate::canResume(), and QNetworkReplyHttpImplPrivate::postRequest().

+ Here is the caller graph for this function:

◆ cacheControlName()

static QByteArray cacheControlName ( )
inlinestatic

Definition at line 42 of file qnetworkreplyhttpimpl.cpp.

Referenced by QNetworkReplyHttpImplPrivate::loadFromCacheIfAllowed().

+ Here is the caller graph for this function:

◆ caseInsensitiveCompare()

static auto caseInsensitiveCompare ( QByteArrayView value)
static

Definition at line 1710 of file qnetworkreplyhttpimpl.cpp.

References Qt::CaseInsensitive.

Referenced by QNetworkReplyHttpImplPrivate::fetchCacheMetaData(), and isHopByHop().

+ Here is the caller graph for this function:

◆ isHopByHop()

static bool isHopByHop ( QByteArrayView header)
static

Definition at line 1718 of file qnetworkreplyhttpimpl.cpp.

References caseInsensitiveCompare(), header(), and QNetworkProxy::headers().

Referenced by QNetworkReplyHttpImplPrivate::fetchCacheMetaData().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ locationHeader()

static constexpr QLatin1StringView locationHeader ( )
staticconstexprnoexcept

Definition at line 1317 of file qnetworkreplyhttpimpl.cpp.

Referenced by QNetworkReplyHttpImplPrivate::checkForRedirect(), QNetworkReplyHttpImplPrivate::replyDownloadMetaData(), and QNetworkReplyHttpImplPrivate::sendCacheContents().

+ Here is the caller graph for this function:

◆ parseHttpOptionHeader()

static QHash< QByteArray, QByteArray > parseHttpOptionHeader ( QByteArrayView header)
static

Definition at line 46 of file qnetworkreplyhttpimpl.cpp.

References equal(), header(), isLWS(), isSeparator(), nextNonWhitespace(), and pos.

Referenced by QNetworkReplyHttpImplPrivate::fetchCacheMetaData(), QNetworkReplyHttpImplPrivate::loadFromCacheIfAllowed(), and QNetworkReplyHttpImplPrivate::replyDownloadMetaData().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ rangeName()

static QByteArray rangeName ( )
inlinestatic

Definition at line 41 of file qnetworkreplyhttpimpl.cpp.

Referenced by QNetworkReplyHttpImplPrivate::postRequest().

+ Here is the caller graph for this function: