From: Daniel Stenberg Date: Thu, 28 Aug 2014 09:42:00 +0000 (+0200) Subject: FAQ: mention -w in the 4.20 answer as well X-Git-Tag: curl-7_38_0~42 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=accbbd7dc37be1a59fb23d07af24234437c059bb;p=thirdparty%2Fcurl.git FAQ: mention -w in the 4.20 answer as well --- diff --git a/docs/FAQ b/docs/FAQ index a23965bdae..e995142d63 100644 --- a/docs/FAQ +++ b/docs/FAQ @@ -1109,6 +1109,9 @@ FAQ message, curl has a dedicated option for that: -f (CURLOPT_FAILONERROR in libcurl speak). + You can also use the -w option and the variable %{response_code} to extract + the exact response code that was return in the response. + 5. libcurl Issues