Fixed: Any 3xx HTTP status codes are redirections

--HG--
branch : develop
feature/pipeline-tools
kervala 8 years ago
parent f9117d8e94
commit 857b60dd82

@ -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())
{ {

Loading…
Cancel
Save