Fixed: Any 3xx HTTP status codes are redirections

This commit is contained in:
kervala 2016-11-13 11:07:32 +01:00
parent 1c63238884
commit 2781f6b011

View file

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