Changed: Display an better text for status code 307, see #279
--HG-- branch : develop
This commit is contained in:
parent
6447e9794e
commit
eb219b0c2b
1 changed files with 7 additions and 0 deletions
|
@ -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
|
// other status
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue