cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

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

From: Chris Dawson <xrdawson_at_gmail.com>
Date: Fri, 25 Nov 2005 11:41:12 -0800

Once I used the -H switch, everything works perfectly. Thanks so much; what
a great tool!

Chris

On 11/25/05, Chris Dawson <xrdawson_at_gmail.com> wrote:
>
> This is definitely a bug in lighttpd. I have been doing some research,
> and they respond with a 417 no matter what the request if it has the
> "Expect: 100-continue" header. Their rationale is that they are handling it
> "correctly" by rejecting it, but I would disagree.
>
> Thanks,
> Chris
>
> On 11/25/05, Daniel Stenberg <daniel_at_haxx.se> wrote:
> >
> > 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

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET