Description
By default all protocols are built in. Explicitly set OPT_PROTOCOLS to include HTTP and HTTPS.
#define CURLPROTO_HTTP (1<<0)
#define CURLPROTO_HTTPS (1<<1)
myCurl.Setopt(curl.OPT_PROTOCOLS, CURLPROTO_HTTP | CURLPROTO_HTTPS )
By default all protocols are built in. Explicitly set OPT_PROTOCOLS to include HTTP and HTTPS.
#define CURLPROTO_HTTP (1<<0)
#define CURLPROTO_HTTPS (1<<1)
myCurl.Setopt(curl.OPT_PROTOCOLS, CURLPROTO_HTTP | CURLPROTO_HTTPS )