mirror of
https://github.com/lwthiker/curl-impersonate.git
synced 2025-08-08 04:42:26 +00:00

Set CURLOPT_ACCEPT_ENCODING to an empty string in curl_easy_impersonate() to enable decompression of encoded responses using all built-in compressions. This is similar to adding '--compressed' in the command line curl and is necessary since curl_easy_impersonate() adds the 'Accept-Encoding' header which may cause the server to respond with compressed content.