cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: FW: HTTP GET using easycurl - HTTP chunks in HTTP response.

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 14 Dec 2006 10:56:00 +0100 (CET)

On Wed, 13 Dec 2006, Rangoli Mathur wrote:

>> That does look like a bug. Does the curl command-line tool do the same on
>> the same URL?

> I tried the curl command line tool doesn't pose this problem. The response
> from curl coagulated all the HTTP chunks, (I made sure the transfer encoding
> is still chunked). So, the issue, then lies in libcurl?

curl uses libcurl for all transfer-related stuff so if curl can do this, it
implies that libcurl can.

It then of course calls for the question: why isn't this working for you when
you use libcurl directly when curl can do it right when using libcurl?

I would suspect that your write callback is broken, but that's only a guess
since you haven't showed us that.

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