cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Troubleshooting Connection Error

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 17 Nov 2006 10:47:26 +0100 (CET)

On Thu, 16 Nov 2006, Dan Fandrich wrote:

>> POST http://pakiti.scc.rnmd.net/feed/ HTTP/1.1
>> Expect: 100-continue

>> < HTTP/1.1 100 Continue
>> < HTTP/1.1 200 OK
>
> This is a completely bogus reply. The server or the proxy is returning two
> HTTP return codes, when it should only send one.

No Dan, that is a perfectly fine response as that is what "Expect:
100-continue" asks the server. It is designed like that in the HTTP protocol
to allow the server to reject a post early so that the client won't have to
send a huge post in case it doesn't have the right to do it or similar.

So the 100 just means "fine, go ahead and post it" and the 200 is then the
real response.

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