[PATCH] implement wget --server-response

Denys Vlasenko vda.linux at googlemail.com
Tue Jan 24 20:43:10 UTC 2017


On Tue, Jan 24, 2017 at 4:14 AM, Stephane Billiart
<stephane.billiart at gmail.com> wrote:
> Attached is a simple patch that adds --server-response
> to wget. I am using it with HTTP only but there is
> (partial) FTP support too.
>
> Let me know what you think.

Not a proper patch apllyable by "git am PATCH".
These days, most projects expect that.

-S should print to stderr, not stdout
(for one, this breaks -O -).

The printing can be moved to fgets_and_trim()
for smaller size.

I applied slightly modified version to git. Thanks!


More information about the busybox mailing list