What I did is to make a http2 post request, the code is below:
```
curl_version_info_data *info = curl_version_info(CURLVERSION_NOW);
bool support = (info->features & CURL_VERSION_HTTP2);
//create multi handle
CURLM *multi_handle = curl_multi_init();
//create sub handle
CURL *hnd = curl_easy_init
how to compile curl with visual studio and make it support HTTP2?
Thanks very much---
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
I write an http request using curl like this:
```
curl_global_init(CURL_GLOBAL_ALL);
CURL* easy_handle = curl_easy_init();
curl_easy_setopt(easy_handle, CURLOPT_URL, "https://nghttp2.org/";);
curl_easy_setopt(easy_handle, CURLOPT_WRITEFUNCTION, WriteMemoryCallback);
data_chunk_t chunk;
chun
I have wriiten the code below to make a http2 request, but the debug info
showed me that it's http 1.1, would you please tell me why and how should I
amend it:
curl_global_init(CURL_GLOBAL_ALL);
CURL* easy_handle = curl_easy_init();
struct curl_slist* head = NULL;
char *form_data = "Content-Dispo