easy:GetInfo_HTTP_Version -- get the http version used in the connection
Synopsis
p = easy:GetInfo_HTTP_Version()
Function
Returns the version used in the last http connection.
The returned value will be #CURL_HTTP_VERSION_1_0, #CURL_HTTP_VERSION_1_1, or
#CURL_HTTP_VERSION_2_0, or 0 if the version can't be determined.