diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2016-05-11 14:23:37 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-05-30 22:58:51 +0200 |
commit | 071c56139463137a4e32a8d841a70c16f3682bb7 (patch) | |
tree | 8731f8c08ce57c019fa23eb4bf7bea72ded13314 /include | |
parent | 4bffaad85f7ba9ba12272a06ce4e4a81a9a3178a (diff) | |
download | curl-071c56139463137a4e32a8d841a70c16f3682bb7.tar.gz |
http: add CURLINFO_HTTP_VERSION and %{http_version}
Adds access to the effectively used http version to both libcurl and
curl.
Closes #799
Diffstat (limited to 'include')
-rw-r--r-- | include/curl/curl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h index 57e716b3e..b9bd8b706 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -2193,9 +2193,10 @@ typedef enum { CURLINFO_TLS_SESSION = CURLINFO_SLIST + 43, CURLINFO_ACTIVESOCKET = CURLINFO_SOCKET + 44, CURLINFO_TLS_SSL_PTR = CURLINFO_SLIST + 45, + CURLINFO_HTTP_VERSION = CURLINFO_LONG + 46, /* Fill in new entries below here! */ - CURLINFO_LASTONE = 45 + CURLINFO_LASTONE = 46 } CURLINFO; /* CURLINFO_RESPONSE_CODE is the new name for the option previously known as |