| 89 | } |
| 90 | |
| 91 | void NetworkRequestBase::setCacheLoadControl( |
| 92 | QNetworkRequest::CacheLoadControl value) noexcept { |
| 93 | Q_ASSERT(QThread::currentThread() != NetworkAccessManager::instance()); |
| 94 | Q_ASSERT(!mStarted); |
| 95 | mRequest.setAttribute(QNetworkRequest::CacheLoadControlAttribute, value); |
| 96 | } |
| 97 | |
| 98 | void NetworkRequestBase::setExpectedReplyContentSize(qint64 bytes) noexcept { |
| 99 | Q_ASSERT(QThread::currentThread() != NetworkAccessManager::instance()); |
no outgoing calls
no test coverage detected