cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: overriding automatic Expect: 100-continue behavior

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 9 Aug 2006 09:13:48 +0200 (CEST)

On Tue, 8 Aug 2006, Andrew Biggs wrote:

> I changed the "state" to "set", which solves the problem for when the
> Expect header is turned off.

Yeah, the change from set to state was the previous change I mentioned that
of course requires CVS HEAD to work... but changing to set is a quick way to
make it work on a release source package.

> Though now I'm noticing that the contents are being sent immediately even
> when the "Expect: 100-continue" header is on :-/.

Oops. That condition got too complex for my brain. Here's a second attempt,
with a somewhat simpler approach.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html

Received on 2006-08-09