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.
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Daniel Stenberg via curl-users <curl-users_at_cool.haxx.se>
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
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
-- / daniel.haxx.se | Commercial curl support up to 24x7 is available! | Private help, bug fixes, support, ports, new features | https://www.wolfssl.com/contact/ ----------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2021-01-28