curl: add %{method} to the -w variables

Gets the CURLINFO_EFFECTIVE_METHOD from libcurl.

Added test 1197 to verify.
This commit is contained in:
Daniel Stenberg 2020-07-13 09:58:29 +02:00
parent d75e3ab74c
commit f5e6907d52
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
6 changed files with 103 additions and 2 deletions

View file

@ -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,