summaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/write-out.d
diff options
context:
space:
mode:
authoranio <anio@users.noreply.github.com>2020-09-09 15:05:49 +0000
committerDaniel Stenberg <daniel@haxx.se>2020-09-15 00:37:08 +0200
commit0c1e767e83ec669d213868db8887e19386f717b2 (patch)
tree9f8031b570594919bc3c9ab888c64d4ade14534f /docs/cmdline-opts/write-out.d
parent4e66207c580bbf2e05968aa1b99ce7388a3b55c1 (diff)
downloadcurl-0c1e767e83ec669d213868db8887e19386f717b2.tar.gz
tool_writeout: add new writeout variable, %{num_headers}
This variable gives the number of headers. Closes #5947
Diffstat (limited to 'docs/cmdline-opts/write-out.d')
-rw-r--r--docs/cmdline-opts/write-out.d4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/cmdline-opts/write-out.d b/docs/cmdline-opts/write-out.d
index 013319cc2..28b9a13a9 100644
--- a/docs/cmdline-opts/write-out.d
+++ b/docs/cmdline-opts/write-out.d
@@ -67,6 +67,10 @@ The http method used in the most recent HTTP request (Added in 7.72.0)
.B num_connects
Number of new connects made in the recent transfer. (Added in 7.12.3)
.TP
+.B num_headers
+The number of response headers in the most recent request (restarted at each
+ redirect). Note that the status line IS NOT a header. (Added in 7.73.0)
+.TP
.B num_redirects
Number of redirects that were followed in the request. (Added in 7.12.3)
.TP