Merge with develop

--HG--
branch : compatibility-develop
This commit is contained in:
kervala 2016-11-13 11:08:14 +01:00
commit 7628842931

View file

@ -277,7 +277,7 @@ void CDownloader::onHeadFinished()
} }
// redirection // redirection
if (status == 302 || status == 307) if (status >= 300 && status < 400)
{ {
if (redirection.isEmpty()) if (redirection.isEmpty())
{ {