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

@ -60,6 +60,9 @@ either IPv4 or IPv6 (Added in 7.29.0)
.B local_port
The local port number of the most recently done connection (Added in 7.29.0)
.TP
.B method
The http method used in the most recent HTTP request (Added in 7.72.0)
.TP
.B num_connects
Number of new connects made in the recent transfer. (Added in 7.12.3)
.TP