curl-users
Re: curl --fail and exit code 22
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 18 Mar 2003 10:27:26 +0100 (CET)
Date: Tue, 18 Mar 2003 10:27:26 +0100 (CET)
On Tue, 18 Mar 2003, Dale Clapperton wrote:
> When using curl with the --fail option to fetch a webpage that results in a
> 401 Authorization Required error, curl exits with code 22 which according
> to the man page should correspond to a 404 Not Found error.
Staying true to old habits I spoke too soon.
Where exactly does it say this in the docs? I can't find any such paragraph.
-- Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs. ------------------------------------------------------- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043enReceived on 2003-03-18