summaryrefslogtreecommitdiff
path: root/docs/FAQ
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2014-08-28 11:42:00 +0200
committerDaniel Stenberg <daniel@haxx.se>2014-08-28 11:42:00 +0200
commitaccbbd7dc37be1a59fb23d07af24234437c059bb (patch)
tree75195fbb5977b8a54f38245e2f45a0cec9ee0198 /docs/FAQ
parent889de6b285b41a91da524e58a04a3b2b93f40ff5 (diff)
downloadcurl-accbbd7dc37be1a59fb23d07af24234437c059bb.tar.gz
FAQ: mention -w in the 4.20 answer as well
Diffstat (limited to 'docs/FAQ')
-rw-r--r--docs/FAQ3
1 files changed, 3 insertions, 0 deletions
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