}
void DownloadItem::start() {
- m_reply = The::http()->simpleGet(m_url);
+ m_reply = The::http()->request(m_url);
init();
}
QVariant locationHeader = m_reply->header(QNetworkRequest::LocationHeader);
if (locationHeader.isValid()) {
m_url = locationHeader.toUrl();
- qDebug() << "Redirecting to" << m_url;
+ // qDebug() << "Redirecting to" << m_url;
tryAgain();
return;
}