cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurls behaviour without zlib?

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 10 Oct 2005 18:31:22 +0200 (CEST)

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.

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!

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2005-10-10