curl-library
Re: libcurls behaviour without zlib?
Date: Mon, 10 Oct 2005 18:54:34 +0200
Hi Daniel Stenberg, you wrote:
> On Mon, 10 Oct 2005, Michael Wallner wrote:
>
>> I just thought I could ask this prior building a libcurl version
>> without zlib support to test with. Does libcurl ignore the
>> CURLOPT_ENCODING option or does it deny to send the request if zlib
>> support is not built in?
>
>
> Setting this option populates the request accordingly and only if you
> have zlib it will unpack anything while downloading.
So, if libcurl is not built against zlib it still sends the request
and downloads the data? That's great, and what I was hoping for :)
> But, if you set the option to "" libcurl will fill in all supported
> types in the request and when built without zlib it doesn't include any
> compressed types at all!
Uhm, could I overcome that by setting "gzip, deflate, compress"?
Thanks a lot,
-- Michael - <mike(@)php.net> http://dev.iworks.at/ext-http/http-functions.html.gzReceived on 2005-10-10