[Toybox] [PATCH] wget: Added support for HTTP 301 and 302 redirects

Jarno Mäkipää jmakip87 at gmail.com
Sat Sep 14 03:40:34 PDT 2019


Replaced: -f file with -O file to behave more like GNU wget

Added: parsing of redirect responses, will now follow redirectation path
until maximum of 10 jumps. This will not help much because most
likely this will lead to server advertising new unsupported HTTPS url.


-Jarno
---
 toys/pending/wget.c | 81 +++++++++++++++++++++++++++------------------
 1 file changed, 48 insertions(+), 33 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-wget-Added-support-for-HTTP-301-and-302-redirects.patch
Type: text/x-patch
Size: 4844 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20190914/71ba0100/attachment-0002.bin>


More information about the Toybox mailing list