curl-users
curl --fail and exit code 22
From: Dale Clapperton <dale_at_blackbird.net.au>
Date: 18 Mar 2003 12:20:38 +1000
Date: 18 Mar 2003 12:20:38 +1000
Hi
I believe I've found a bug (or an undocumented feature) in curl, which
affects at least versions 7.9.7 and 7.10.2
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.
Thanks
Dale
-- Dale Clapperton <dale_at_blackbird.net.au> ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031enReceived on 2003-03-18