From 3cc9df1817b1f94b08d5595bfe8f84512135a867 Mon Sep 17 00:00:00 2001 From: Martin D'Aloia Date: Wed, 1 Feb 2023 22:27:23 -0300 Subject: [PATCH] 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 --- docs/cmdline-opts/write-out.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/cmdline-opts/write-out.d b/docs/cmdline-opts/write-out.d index 7b84b75e4a..bb26528b5d 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