From accbbd7dc37be1a59fb23d07af24234437c059bb Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 28 Aug 2014 11:42:00 +0200 Subject: FAQ: mention -w in the 4.20 answer as well --- docs/FAQ | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/FAQ') diff --git a/docs/FAQ b/docs/FAQ index a23965bda..e995142d6 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 -- cgit v1.2.1