|
From: | Daniel Stenberg |
Subject: | Re: [Bug-wget] Returning the http status |
Date: | Wed, 28 Sep 2011 09:27:13 +0200 (CEST) |
User-agent: | Alpine 2.00 (DEB 1167 2008-08-23) |
On Tue, 27 Sep 2011, Tim Pizey wrote:
(For what it is worth curl appears to return unix status 0 for 404 pages, I can at least check for status 8 with wget)
curl instead offers a rather fancy way of outputting selected information using its -w option, which could include the HTTP status.
I'm not sure that same approach would make as much sense to wget though, as the moment you involve more than one URL things get more complicated.
-- / daniel.haxx.se
[Prev in Thread] | Current Thread | [Next in Thread] |