curl-library
RE: decompressing a gzip stream
Date: Wed, 6 Nov 2013 11:39:28 -0500
Yes, it works. Great.
Thanks
> Subject: Re: decompressing a gzip stream
> From: cedric_at_moodstocks.com
> Date: Wed, 6 Nov 2013 17:23:06 +0100
> To: curl-library_at_cool.haxx.se
>
>
> Le 6 nov. 2013 à 17:07, Ali Nikzad <nikzad.a_at_outlook.com> a écrit :
>
> > You mean CURLOPT_ACCEPT_ENCODING option with "gzip" encoding can decompress the gzip data?
>
> Yes. Give it a try with:
>
> curl_easy_setopt(curl, CURLOPT_URL, "http://httpbin.org/gzip");
> curl_easy_setopt(curl, CURLOPT_ACCEPT_ENCODING, "gzip");
>
> Cédric
>
>
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-11-06