]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
write-out.d: add 'since version' to %{header_json} documentation
authorMartin D'Aloia <martindaloia@gmail.com>
Thu, 2 Feb 2023 01:27:23 +0000 (22:27 -0300)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 2 Feb 2023 07:31:41 +0000 (08:31 +0100)
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

docs/cmdline-opts/write-out.d

index 7b84b75e4a3ad03ef166782286f76f939cde86c7..bb26528b5d1d00a386e3b30ce75f83de6f1abab5 100644 (file)
@@ -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