From e71ea6c1f84318d8655a5783736288695174f596 Mon Sep 17 00:00:00 2001 From: Jeremy Lin Date: Wed, 28 Apr 2021 20:34:24 -0700 Subject: 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 Signed-off-by: Denys Vlasenko --- networking/wget.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/networking/wget.c b/networking/wget.c index 3edc5f8..6a96044 100644 --- a/networking/wget.c +++ b/networking/wget.c @@ -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 */ -- cgit v1.1