mirror of
https://github.com/curl/curl.git
synced 2026-08-25 22:43:39 +03:00
curl: add %{header_json} support in -w handling
Outputs all response headers as a JSON object.
This commit is contained in:
parent
2d45137e1e
commit
4133a69f2d
6 changed files with 66 additions and 10 deletions
|
|
@ -7,7 +7,7 @@
|
|||
* | (__| |_| | _ <| |___
|
||||
* \___|\___/|_| \_\_____|
|
||||
*
|
||||
* Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
* Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
*
|
||||
* This software is licensed as described in the file COPYING, which
|
||||
* you should have received as part of this distribution. The terms
|
||||
|
|
@ -35,6 +35,7 @@ typedef enum {
|
|||
VAR_ERRORMSG,
|
||||
VAR_EXITCODE,
|
||||
VAR_FTP_ENTRY_PATH,
|
||||
VAR_HEADER_JSON,
|
||||
VAR_HEADER_SIZE,
|
||||
VAR_HTTP_CODE,
|
||||
VAR_HTTP_CODE_PROXY,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue