Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | copyright: update copyright year ranges to 2021 | Daniel Stenberg | 2021-03-27 | 1 | -1/+1 |
| | | | | | Reviewed-by: Emil Engler Closes #6802 | ||||
* | tool_writeout: refactor write-out and write-out json | Jay Satiro | 2021-02-09 | 1 | -2/+4 |
| | | | | | | | | | | | | | | | | | | | | | - Deduplicate the logic used by write-out and write-out json. Rather than have separate writeLong, writeString, etc, logic for each of write-out and write-out json instead have respective shared functions that can output either format and a 'use_json' parameter to indicate whether it is json that is output. This will make it easier to maintain. Rather than have to go through two sets of logic now we only have to go through one. - Support write-out %{errormsg} and %{exitcode} in json. - Clarify in the doc that %{exitcode} is the exit code of the transfer. Prior to this change it just said "The numerical exitcode" which implies it's the exit code of the tool, and it's not necessarily that. Closes https://github.com/curl/curl/pull/6544 | ||||
* | curl.se: new home | Daniel Stenberg | 2020-11-04 | 1 | -1/+1 |
| | | | | Closes #6172 | ||||
* | tool_writeout: add new writeout variable, %{num_headers} | anio | 2020-09-15 | 1 | -2/+2 |
| | | | | | | This variable gives the number of headers. Closes #5947 | ||||
* | writeout: support to generate JSON output | Mathias Gumz | 2020-03-17 | 1 | -0/+30 |
This commit adds support to generate JSON via the writeout feature: -w "%{json}" It leverages the existing infrastructure as much as possible. Thus, generating the JSON on STDERR is possible by: -w "%{stderr}%{json}" This implements a variant of https://github.com/curl/curl/wiki/JSON#--write-out-json. Closes #4870 |