snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit a1c910553f359accc76cd00444b662e836e3c6a2
parent 7795315cc9fd8379123c307b7921d49590d382c8
Author: default <nobody@localhost>
Date:   Fri,  4 Nov 2022 09:42:24 +0100

Backport from xs.

Diffstat:
Mxs_curl.h | 3+++
Mxs_version.h | 2+-
2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/xs_curl.h b/xs_curl.h @@ -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 */ diff --git a/xs_version.h b/xs_version.h @@ -1 +1 @@ -/* 870b15e48a153ac601046ac2dc72dd8ccb0c77a4 */ +/* 8450903c195f5a3bf4b96de961131d6e419321a4 */