curl-users
Re: Can't post with Content-Length longer than 1024 bytes
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 17 Feb 2008 13:13:39 +0100 (CET)
Date: Sun, 17 Feb 2008 13:13:39 +0100 (CET)
On Sat, 16 Feb 2008, Dan Fandrich wrote:
> If the server sends a 417 error code, curl ought to resend the request
> without the 100-continue header. If it's not doing this, curl ought to be
> fixed.
I'm not so sure. The 417 code means that "Expectation Failed" which I
interpret that the server deemed that something in the request made it not
allowed to continue, so just removing the Expect: header and doing the request
again would thus just get a failure again although a bit later in the process
than with the header present.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2008-02-17