mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-27 01:26:30 +00:00
Fixed: Any 3xx HTTP status codes are redirections
This commit is contained in:
parent
1c63238884
commit
2781f6b011
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue