Changed: Display an better text for status code 307, see #279

This commit is contained in:
kervala 2016-09-22 11:40:13 +02:00
parent 6afc2adfc6
commit 4dc25df5a4

View file

@ -323,6 +323,13 @@ void CDownloader::onHeadFinished()
}
}
// error when download is not yet ready
else if (status == 307)
{
if (m_listener) m_listener->operationFail(tr("File is not available, please retry later (status code: %1)").arg(status));
return;
}
// other status
else
{