Name
hurl.VersionInfo -- returns run-time libcurl version info
Synopsis
t = hurl.VersionInfo()
Function
This function returns detailed information about the run-time libcurl version.

The table argument will contain the following fields:

Version:
An ASCII string for the libcurl version.

VersionNum:
A 24 bit number created like this: <8 bits major number> | <8 bits minor number> | <8 bits patch number>. Version 7.9.8 is therefore returned as 0x070908.

Host:
An ASCII string showing what host information that this libcurl was built for. As discovered by a configure script or get by the build environment.

Features:
This is a table that contains the following boolean fields, all of which are either get to True or False, depending on whether or not the specific feature is available.

IPV6:
Supports IPv6
Kerberos4:
Supports Kerberos V4 (when using FTP)
Kerberos5:
Supports Kerberos V5 authentication for FTP, IMAP, POP3, SMTP and SOCKSv5 proxy (Added in 7.40.0)
SSL:
Supports SSL (HTTPS/FTPS) (Added in 7.10)
Libz:
Supports HTTP deflate using libz (Added in 7.10)
NTLM:
Supports HTTP NTLM (added in 7.10.6)
GSSNegotiate:
Supports HTTP GSS-Negotiate (added in 7.10.6)
Debug:
libcurl was built with debug capabilities (added in 7.10.6)
CurlDebug:
libcurl was built with memory tracking debug capabilities. This is mainly of interest for libcurl hackers. (added in 7.19.6)
AsynchDNS:
libcurl was built with support for asynchronous name lookups, which allows more exact timeouts (even on Windows) and less blocking when using the multi interface. (added in 7.10.7)
SPNEGO:
libcurl was built with support for SPNEGO authentication (Simple and Protected GSS-API Negotiation Mechanism, defined in RFC 2478.) (added in 7.10.8)
LargeFile:
libcurl was built with support for large files. (Added in 7.11.1)
IDN:
libcurl was built with support for IDNA, domain names with international letters. (Added in 7.12.0)
SSPI:
libcurl was built with support for SSPI. This is only available on Windows and makes libcurl use Windows-provided functions for Kerberos, NTLM, SPNEGO and Digest authentication. It also allows libcurl to use the current user credentials without the app having to pass them on. (Added in 7.13.2)
GSSAPI:
libcurl was built with support for GSS-API. This makes libcurl use provided functions for Kerberos and SPNEGO authentication. It also allows libcurl to use the current user credentials without the app having to pass them on. (Added in 7.38.0)
CONV:
libcurl was built with support for character conversions, as provided by the #CURLOPT_CONV_* callbacks. (Added in 7.15.4)
TLSAuthSRP:
libcurl was built with support for TLS-SRP. (Added in 7.21.4)
NTLM_WB:
libcurl was built with support for NTLM delegation to a winbind helper. (Added in 7.22.0)
HTTP2:
libcurl was built with support for HTTP2. (Added in 7.33.0)
HTTPSProxy:
libcurl was built with support for HTTPS-proxy. (Added in 7.52.0)
MultiSSL:
libcurl was built with multiple SSL backends. (Added in 7.56.0)
Brotli:
Supports HTTP Brotli content encoding using libbrotlidec. (Added in 7.57.0)
AltSvc:
HTTP Alt-Svc parsing and the associated options. (Added in 7.64.1)
HTTP3:
HTTP/3 and QUIC support are built-in. (Added in 7.66.0)
zstd:
Supports HTTP zstd content encoding using zstd library. (Added in 7.72.0)
HSTS:
ibcurl was built with support for HSTS. (HTTP Strict Transport Security) (Added in 7.74.0)

SSLVersion:
An ASCII string for the TLS library name + version used. For example "Schannel", "SecureTransport" or "OpenSSL/1.1.0g".

SSLVersionNum:
Always 0.

LibzVersion:
An ASCII string (there is no numerical version).

Protocols:
This is get to a table of strings, containing the names protocols that libcurl supports (using lowercase letters). The protocol names are the same as would be used in URLs.

Inputs
none

Results
t
table containing information about the libcurl version

Show TOC