On 07/17/2017 11:50 PM, Jeroen Ooms via curl-library wrote:
What is the proper way to disable the 'Expect' header which will work
across versions of libcurl? Does this work?

   assert(curl_easy_setopt(handle, CURLOPT_EXPECT_100_TIMEOUT_MS, 0L));

The best way is to set an "Expect:" header as shown in example programs https://curl.haxx.se/libcurl/c/post-callback.html, https://curl.haxx.se/libcurl/c/multi-post.html and https://curl.haxx.se/libcurl/c/postit2.html.
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to