[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [PATCH] wget: allow HTTP 307/308 redirects
From:       Denys Vlasenko <vda.linux () googlemail ! com>
Date:       2021-04-29 23:42:47
Message-ID: CAK1hOcPp0OmgW_ODVg0iwHJY0PT81xAf+KNtsm0B3TYjX-nTkQ () mail ! gmail ! com
[Download RAW message or body]

Applied, thanks

On Thu, Apr 29, 2021 at 5:34 AM Jeremy Lin <jeremy.lin@gmail.com> wrote:
>
> This resolves failures like
>
>     wget: server returned error: HTTP/1.1 307 Temporary Redirect
>
> Signed-off-by: Jeremy Lin <jeremy.lin@gmail.com>
> ---
>  networking/wget.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/networking/wget.c b/networking/wget.c
> index 3edc5f870..6a9604421 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 */
> --
> 2.25.1
>
> _______________________________________________
> busybox mailing list
> busybox@busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic