curl-library
RE: HTTP GET using easycurl - HTTP chunks in HTTP response.
Date: Wed, 13 Dec 2006 11:05:00 +0100 (CET)
On Tue, 12 Dec 2006, Rangoli Mathur wrote:
> I am using libcurl-7.16.0. I do see the response header saying chunk
> encoding.
Then you've certainly hit a bug of some sorts.
> If I set HTTP_VERSION as 1.0 for libcurl, I see the http chunks getting
> coagulated. So, assuming that was the right thing to do, it does work.
Right, chunked encoding was introduced in 1.1 so doing a 1.0 request is a
certain way to avoid chunked encoding responses. Although 1.0 has a few
disadvantages, like not being as good on persistent connections etc.
> But if I didn't specify HTTP version 1.0 to be used, it should still
> coagulate chunks right??
Yes it should. Can you repeat this problem on a public URL and perhaps even
show us an example snippet that repeats the problem?
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2006-12-13