diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-07-13 09:58:29 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-07-14 17:53:45 +0200 |
commit | f5e6907d5232ca9c05cb8a0b99d809590ddcde18 (patch) | |
tree | ca196f63279e191890bc0feb5a3ba510ce59cc84 /src/tool_writeout.h | |
parent | d75e3ab74c91eff67363cba064611d405105a12f (diff) | |
download | curl-f5e6907d5232ca9c05cb8a0b99d809590ddcde18.tar.gz |
curl: add %{method} to the -w variables
Gets the CURLINFO_EFFECTIVE_METHOD from libcurl.
Added test 1197 to verify.
Diffstat (limited to 'src/tool_writeout.h')
-rw-r--r-- | src/tool_writeout.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tool_writeout.h b/src/tool_writeout.h index a21787ab9..68bacb9d4 100644 --- a/src/tool_writeout.h +++ b/src/tool_writeout.h @@ -39,6 +39,7 @@ typedef enum { VAR_HTTP_CODE_PROXY, VAR_HEADER_SIZE, VAR_REQUEST_SIZE, + VAR_EFFECTIVE_METHOD, VAR_EFFECTIVE_URL, VAR_CONTENT_TYPE, VAR_NUM_CONNECTS, |