cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Can't post with Content-Length longer than 1024 bytes

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 18 Feb 2008 12:02:58 +0100 (CET)

On Sun, 17 Feb 2008, Dan Fandrich wrote:

> The RFC gives as an example of a case where 417 is allowed as the case of a
> proxy knowing that the remote server can't handle a 100-continue request
> because it is HTTP 1.0 only. In that case, retrying in HTTP 1.0 mode is
> presumably the right way to recover. The wording implies that 417 should be
> returned due to a problem with the 100-expect meaning retrying without the
> 100-expect is the right recovery strategy.

Ah yes it does. We could seriously consider doing a second attempt without the
Expect: header when a 417 is returned...

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