cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: POST using CURLOPT_READFUNCTION

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 18 Apr 2005 16:36:23 +0200 (CEST)

On Mon, 18 Apr 2005, Toshiyuki Maezawa wrote:

> I try to post data using a read callback that is specified by
> CURLOPT_READFUNCTION.
>
> My sample program works, but "Expect: 100-continue" header is not added in a
> POST request packet. My understanding is that it is automatically added when
> CURLOPT_POST is used.
>
> Is this my misunderstanding or a bug?

It seems to be a bug, yes. I'll work on a fix.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2005-04-18