curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: Retrieve the correct header for 'Accept-Encoding:' used by the compressed remote resource.

From: Daniel Stenberg via curl-users <>
Date: Thu, 28 Jan 2021 08:01:31 +0100 (CET)

On Thu, 28 Jan 2021, Hongyi Zhao via curl-users wrote:

>> Accept-Encoding should not be manually set. Use --compressed which sets
>> it to the encodings supported by your build of curl.
> How to list the supported options in the building time?

curl -V lists them as individual features: brotli, libz and zstd.

$ curl -V | egrep -o '(libz|brotli|zstd)' | sort -u

  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
Received on 2021-01-28