diff options
author | default <nobody@localhost> | 2022-11-04 09:42:24 +0100 |
---|---|---|
committer | default <nobody@localhost> | 2022-11-04 09:42:24 +0100 |
commit | a1c910553f359accc76cd00444b662e836e3c6a2 (patch) | |
tree | e994ab9d485f11f8317e6e881950ed572929b5ab /xs_curl.h | |
parent | 7795315cc9fd8379123c307b7921d49590d382c8 (diff) |
Backport from xs.
Diffstat (limited to 'xs_curl.h')
-rw-r--r-- | xs_curl.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -143,6 +143,9 @@ d_char *xs_http_request(char *method, char *url, d_char *headers, list = curl_slist_append(list, h); } + /* disable server support for 100-continue */ + list = curl_slist_append(list, "Expect:"); + curl_easy_setopt(curl, CURLOPT_HTTPHEADER, list); /* do it */ |