wget: allow HTTP 307/308 redirects

This resolves failures like

    wget: server returned error: HTTP/1.1 307 Temporary Redirect

Signed-off-by: Jeremy Lin <jeremy.lin@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Jeremy Lin 2021-04-28 20:34:24 -07:00 committed by Denys Vlasenko
parent 0c42a6b072
commit e71ea6c1f8

View File

@ -1346,6 +1346,8 @@ However, in real world it was observed that some web servers
case 301:
case 302:
case 303:
case 307:
case 308:
break;
case 206: /* Partial Content */