mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-12-24 00:23:38 +00:00
Backport from xs.
This commit is contained in:
parent
7795315cc9
commit
a1c910553f
2 changed files with 4 additions and 1 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 */
|
||||
|
|
|
@ -1 +1 @@
|
|||
/* 870b15e48a153ac601046ac2dc72dd8ccb0c77a4 */
|
||||
/* 8450903c195f5a3bf4b96de961131d6e419321a4 */
|
||||
|
|
Loading…
Reference in a new issue