diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-07-13 09:58:28 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-07-14 17:53:45 +0200 |
commit | d75e3ab74c91eff67363cba064611d405105a12f (patch) | |
tree | f133a3f168915803e5a63ed44eadb0d6cad367d3 /include | |
parent | 8fa3f7809a30753a6c6bbedaf243de7447d018f3 (diff) | |
download | curl-d75e3ab74c91eff67363cba064611d405105a12f.tar.gz |
CURLINFO_EFFECTIVE_METHOD: added
Provide the HTTP method that was used on the latest request, which might
be relevant for users when there was one or more redirects involved.
Closes #5511
Diffstat (limited to 'include')
-rw-r--r-- | include/curl/curl.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h index 5284cdc43..e231b710c 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -2634,10 +2634,6 @@ typedef enum { CURLINFO_PROXY_SSL_VERIFYRESULT = CURLINFO_LONG + 47, CURLINFO_PROTOCOL = CURLINFO_LONG + 48, CURLINFO_SCHEME = CURLINFO_STRING + 49, - /* Fill in new entries below here! */ - - /* Preferably these would be defined conditionally based on the - sizeof curl_off_t being 64-bits */ CURLINFO_TOTAL_TIME_T = CURLINFO_OFF_T + 50, CURLINFO_NAMELOOKUP_TIME_T = CURLINFO_OFF_T + 51, CURLINFO_CONNECT_TIME_T = CURLINFO_OFF_T + 52, @@ -2646,6 +2642,7 @@ typedef enum { CURLINFO_REDIRECT_TIME_T = CURLINFO_OFF_T + 55, CURLINFO_APPCONNECT_TIME_T = CURLINFO_OFF_T + 56, CURLINFO_RETRY_AFTER = CURLINFO_OFF_T + 57, + CURLINFO_EFFECTIVE_METHOD = CURLINFO_STRING + 58, CURLINFO_LASTONE = 57 } CURLINFO; |