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
qhttpthreaddelegate.cpp File Reference

(cb8e5e0dd965b849a88ba971e3dc90169d4dc7ce)

#include "qhttpthreaddelegate_p.h"
#include <QThread>
#include <QTimer>
#include <QAuthenticator>
#include <QEventLoop>
#include <QCryptographicHash>
#include "private/qhttpnetworkreply_p.h"
#include "private/qnetworkaccesscache_p.h"
#include "private/qnoncontiguousbytedevice_p.h"
#include "moc_qhttpthreaddelegate_p.cpp"
+ Include dependency graph for qhttpthreaddelegate.cpp:

Go to the source code of this file.

Classes

class  QNetworkAccessCachedHttpConnection
 

Functions

static QNetworkReply::NetworkError statusCodeFromHttp (int httpStatusCode, const QUrl &url)
 
static QByteArray makeCacheKey (QUrl &url, QNetworkProxy *proxy, const QString &peerVerifyName)
 

Function Documentation

◆ makeCacheKey()

static QByteArray makeCacheKey ( QUrl & url,
QNetworkProxy * proxy,
const QString & peerVerifyName )
static

Definition at line 92 of file qhttpthreaddelegate.cpp.

References copy(), QString::fromUtf8(), QUrl::FullyEncoded, QCryptographicHash::hash(), QNetworkProxy::hostName(), QNetworkProxy::HttpCachingProxy, QNetworkProxy::HttpProxy, QString::isEmpty(), isEncrypted(), QNetworkProxy::NoProxy, QNetworkProxy::password(), QNetworkProxy::port(), proxy, Q_UNUSED, QUrl::RemoveFragment, QUrl::RemovePath, QUrl::RemoveQuery, QUrl::RemoveUserInfo, QCryptographicHash::Sha1, QNetworkProxy::Socks5Proxy, QString::startsWith(), QString::toLatin1(), QString::toUtf8(), QNetworkProxy::type(), url, and QNetworkProxy::user().

Referenced by QHttpThreadDelegate::startRequest().

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

◆ statusCodeFromHttp()