summaryrefslogtreecommitdiff
path: root/xs_curl.h
diff options
context:
space:
mode:
authorGravatar default2022-11-04 09:42:24 +0100
committerGravatar default2022-11-04 09:42:24 +0100
commita1c910553f359accc76cd00444b662e836e3c6a2 (patch)
treee994ab9d485f11f8317e6e881950ed572929b5ab /xs_curl.h
parentUpdated documentation. (diff)
downloadpenes-snac2-a1c910553f359accc76cd00444b662e836e3c6a2.tar.gz
penes-snac2-a1c910553f359accc76cd00444b662e836e3c6a2.tar.xz
penes-snac2-a1c910553f359accc76cd00444b662e836e3c6a2.zip
Backport from xs.
Diffstat (limited to 'xs_curl.h')
-rw-r--r--xs_curl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/xs_curl.h b/xs_curl.h
index e48bc56..b769e2f 100644
--- a/xs_curl.h
+++ b/xs_curl.h
@@ -143,6 +143,9 @@ d_char *xs_http_request(char *method, char *url, d_char *headers,
143 list = curl_slist_append(list, h); 143 list = curl_slist_append(list, h);
144 } 144 }
145 145
146 /* disable server support for 100-continue */
147 list = curl_slist_append(list, "Expect:");
148
146 curl_easy_setopt(curl, CURLOPT_HTTPHEADER, list); 149 curl_easy_setopt(curl, CURLOPT_HTTPHEADER, list);
147 150
148 /* do it */ 151 /* do it */