cURL / Mailing Lists / curl-users / Single Mail


Re: curl with 100 continue response

From: Daniel Stenberg <>
Date: Wed, 14 Jun 2006 09:08:46 +0200 (CEST)

On Tue, 13 Jun 2006, Anil Kumar wrote:

> Curl sent a request to server (without "Expect: 100-continue" header)
> When curl reads the buffer
> * If "100 continue" + "200 ok" were present in buffer -> things are fine
> * If only "100 continue" was present in buffer, curl doesnot seem to resume
> curl_easy_opt for reading more data from server.

Sorry, but how can a server send only a "100 continue" and still work fine? A
100 continue header _implies_ that there is another status code coming up so
if there's nothing more coming after the 100 continue is sounds like the
server is messed up.

A HTTP/1.1 client is supposed to deal with the 100 code that way, and
(lib)curl does!

  Commercial curl and libcurl Technical Support:
Received on 2006-06-14