cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: how to get decompressed content length from libcurl

From: Dirk Manske <dm_at_nonitor.de>
Date: Fri, 6 May 2011 11:20:55 +0200

On Friday 06 May 2011 10:49:55 Daniel Stenberg wrote:
> On Thu, 5 May 2011, Arunkumar Manickam wrote:
>
> > When the incoming http response is content encoded using either gzip or
> > deflate and curl handle had been configured to decompress http response, is
> > there an API to get decompressed content length from curl.
>
> CURLINFO_SIZE_DOWNLOAD will tell you how much data it actually downloaded.
I thought that is the raw size, how much data went over the network
and not the size after uncompressing. Am I wrong?
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-05-06