cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl --fail and exit code 22

From: Dale Clapperton <dale_at_blackbird.net.au>
Date: Tue, 18 Mar 2003 19:55:23 +1000

> Where exactly does it say this in the docs? I can't find any such paragraph.

in the curl manpage. It doesnt specifically say "404", but it says "HTTP not
found", as opposed to the other 4xx errors..

       22 HTTP not found. The requested page was not found.
              This return code only appears if --fail is used.

Dale

-------------------------------------------------------
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?micr5043en
Received on 2003-03-18