bug-wget
[Top][All Lists]
Advanced

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

[Bug-wget] Returning the http status


From: Tim Pizey
Subject: [Bug-wget] Returning the http status
Date: Tue, 27 Sep 2011 16:53:06 +0100

Hi,

at the moment  (v 1.12) wget returns status 8   (Server issued an
error response) for any
non 200 status.

It would be really nice it the actual error status was returned.
That is an http status of 200 returned a bash status of 0, all other
statuses were returned unaltered.

(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)


cheers
Tim


-- 
Tim Pizey - http://pizey.net/~timp
Centre for Genomics and Global Health - http://cggh.org



reply via email to

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