]> granicus.if.org Git - curl/commitdiff
FAQ: mention -w in the 4.20 answer as well
authorDaniel Stenberg <daniel@haxx.se>
Thu, 28 Aug 2014 09:42:00 +0000 (11:42 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 28 Aug 2014 09:42:00 +0000 (11:42 +0200)
docs/FAQ

index a23965bdaeebace51614aa9323c685662bdd25de..e995142d637d1a5922a610418f1429f77fb0c7fc 100644 (file)
--- 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