[PATCH] support for User-Agent tuning for wget (mime attached)

Natanael Copa natanael.copa at gmail.com
Thu Aug 31 12:13:59 UTC 2006


On Tue, 2006-08-29 at 23:16 +0200, Csaba Henk wrote:
> Hi,
> 
> I send the same "-U/--user-agent" patch here as earlier, but mime
> attached this time.
> 
> I'm sorry for posting it as a separate thread -- I usually interact with
> the list via Gmane, so I could post this as a followup only if I had a
> newsreader which can do mime attachments. It's not the case now, and
> installing/configuring one would be more hassle than it's worth for.

I have tested the patch. Works for me.
Would be nice to have it committed.

Thanks!

~ $ wget
BusyBox v1.2.1 (2006.08.31-11:40+0000) multi-call binary

Usage: wget [-c|--continue] [-q|--quiet] [-O|--output-document file]
                [--header 'header: value'] [-Y|--proxy on/off] [-P DIR]
                [-U|--user-agent agent] url

wget retrieves files via HTTP or FTP

Options:
        -c      continue retrieval of aborted transfers
        -q      quiet mode - do not print
        -P      Set directory prefix to DIR
        -O      save to filename ('-' for stdout)
        -U      adjust 'User-Agent' field
        -Y      use proxy ('on' or 'off')


>From lighttpd log:

[31/Aug/2006:11:55:13 +0000] "GET / HTTP/1.0" 200 1567 "-" "muhaa"





More information about the busybox mailing list