bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] Options nv and q of Wget


From: Tim Ruehsen
Subject: Re: [Bug-wget] Options nv and q of Wget
Date: Mon, 17 Dec 2012 15:41:23 +0100
User-agent: KMail/1.13.7 (Linux/3.2.0-4-amd64; KDE/4.8.4; x86_64; ; )

Am Monday 17 December 2012 schrieb UnknownG:
> Hello,
> 
> I need to get the output of this wget command:
> wget -r -l inf --spider -nv --page-requisites -S http://<ip address>
> 
> When I used it with version 1.10.2, the -nv option worked as it should and
> I got something like this:
> 200 OK
> 200 OK
> http://<ip address>>: index.html not found
> ERROR 404 NOT found
> 
> And that is what I want
> 
> But when I used exactly the same command with version 1.13.4, I got this:
> 2012-12-17 11:10:50 URL:http://<ip address>/<rest of the
> link>[<value>/<value>] -> "<ip address>/<rest of the link>" [1]
>   HTTP/1.1 200 OK
>   Server: XXXXX
>   Date: Mon, 17 Dec 2012 10:10:51 GMT
>   Content-Type: text/html; Charset=UTF-8
>   Content-Length: 16027
>   Connection: keep-alive
>   Vary: Accept-Encoding
>   Vary: Accept-Encoding
>   X-Powered-By: ASP.NET
>   pragma: no-cache
>   Expires: Sun, 16 Dec 2012 10:10:50 GMT
>   Cache-control: no-store, no-cache, must-revalidate, post-check=0,
> pre-check=0
> 
> And it shouldn't be that...
> Even with -q option I got the same output, as if it was a bug?
> 
> Is it? or did I do something wrong?
> 
> Thank you

Hi,

the option -S outputs the HTTP headers.

Leave it away, and you are much closer to what you want.

Regards,

     Tim Rühsen



reply via email to

[Prev in Thread] Current Thread [Next in Thread]