diff options
author | Jeremy Lin | 2021-04-28 20:34:24 -0700 |
---|---|---|
committer | Denys Vlasenko | 2021-04-30 01:42:24 +0200 |
commit | e71ea6c1f84318d8655a5783736288695174f596 (patch) | |
tree | 3f54efd6fc27b2495fe5fc97a5696e4ce722c4db /networking | |
parent | 0c42a6b072b48ff615e3960ad5829a2a117cc417 (diff) | |
download | busybox-e71ea6c1f84318d8655a5783736288695174f596.zip busybox-e71ea6c1f84318d8655a5783736288695174f596.tar.gz |
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>
Diffstat (limited to 'networking')
-rw-r--r-- | networking/wget.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 */ |