cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: problem with HTTPS post of file: "Expectation failed"

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 25 Nov 2005 20:13:16 +0100 (CET)

On Fri, 25 Nov 2005, Chris Dawson wrote:

> I am getting closer. I think the issue is that lighttpd (the webserver I am
> using) does not properly handle the "Expect: 100-continue" header. It
> always rejects this header with a 417 "Expectation failed" error, so curl
> gives up after this. Is there a way to tell curl to not be so "nice" and
> send the request in full without going through the expect request?

Disable the sending of that header with -H "Expect:".

I can't but to think that this is a bug in lighttpd.

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