curl / Mailing Lists / curl-library / 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: Unrecognized content encoding type. libcurl understands deflate, gzip content encodings.

From: Dan Fandrich via curl-library <curl-library_at_cool.haxx.se>
Date: Sat, 8 Jun 2019 09:31:46 +0200

On Fri, Jun 07, 2019 at 07:58:58PM -0400, Aditya Diwakar via curl-library wrote:
> When I make my request, I receive something with content that is encoded as
> "br" (brotil) and it errors with "Unrecognized content encoding type. libcurl
> understands deflate, gzip content encodings."
>
> I am looking to try to resolve this issue so I can read the response from the
> server.

Sounds like you need to compile your libcurl with the --with-brotli option. It
might also be that the CURLOPT_ACCEPT_ENCODING is being set incorrectly or that
the server is bad and ignoring the list of acceptable encodings.

>>> Dan
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2019-06-08