summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin D'Aloia <martindaloia@gmail.com>2023-02-01 22:27:23 -0300
committerDaniel Stenberg <daniel@haxx.se>2023-02-02 08:31:41 +0100
commit3cc9df1817b1f94b08d5595bfe8f84512135a867 (patch)
tree86b588c0c938533bb5dc8c4dd11691afbe2369a8
parent7305ca63e2b408a1fe9dc1c59f4e833bea942ee4 (diff)
downloadcurl-3cc9df1817b1f94b08d5595bfe8f84512135a867.tar.gz
write-out.d: add 'since version' to %{header_json} documentation
The documentation of `%{header_json}` missed to mention since which version this variable for `--write-out` is present. Based on commit https://github.com/curl/curl/commit/4133a69f2daa476bb we can determine from the tags were this commit is present that the first version to include it was `7.83.0`. This could be also checked with: `git tag --contains 4133a69f2daa476bb6d902687f1dd6660ea9c3c5` Closes #10395
-rw-r--r--docs/cmdline-opts/write-out.d2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/cmdline-opts/write-out.d b/docs/cmdline-opts/write-out.d
index 7b84b75e4..bb26528b5 100644
--- a/docs/cmdline-opts/write-out.d
+++ b/docs/cmdline-opts/write-out.d
@@ -65,7 +65,7 @@ server. (Added in 7.15.4)
.B header_json
A JSON object with all HTTP response headers from the recent transfer. Values
are provided as arrays, since in the case of multiple headers there can be
-multiple values.
+multiple values. (Added in 7.83.0)
The header names provided in lowercase, listed in order of appearance over the
wire. Except for duplicated headers. They are grouped on the first occurrence