From bd300297bb2f762cdabc6b38d0d77e7dd96ce130 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Sun, 30 Aug 2009 11:11:55 +0200 Subject: [PATCH] =?utf8?q?write=5Fhttp=20plugin:=20Suppress=20the=20?= =?utf8?q?=E2=80=9CExpect:=E2=80=9D=20header.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/write_http.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/write_http.c b/src/write_http.c index ac1e5aad..bf689c56 100644 --- a/src/write_http.c +++ b/src/write_http.c @@ -103,6 +103,7 @@ static int wh_callback_init (wh_callback_t *cb) /* {{{ */ headers = NULL; headers = curl_slist_append (headers, "Accept: */*"); headers = curl_slist_append (headers, "Content-Type: text/plain"); + headers = curl_slist_append (headers, "Expect:"); curl_easy_setopt (cb->curl, CURLOPT_HTTPHEADER, headers); curl_easy_setopt (cb->curl, CURLOPT_ERRORBUFFER, cb->curl_errbuf); -- 2.11.0