mirror of
https://github.com/curl/curl.git
synced 2026-07-24 14:07:16 +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
|
|
@ -52,6 +52,9 @@ option. (Added in 7.26.0)
|
|||
The initial path curl ended up in when logging on to the remote FTP
|
||||
server. (Added in 7.15.4)
|
||||
.TP
|
||||
.B header_json
|
||||
A JSON object with all HTTP response headers from the recent transfer.
|
||||
.TP
|
||||
.B http_code
|
||||
The numerical response code that was found in the last retrieved HTTP(S) or
|
||||
FTP(s) transfer.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue