diff options
-rw-r--r-- | lib/private/Http/Client/Client.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/Http/Client/Client.php b/lib/private/Http/Client/Client.php index c3f8f589827..30c91ace078 100644 --- a/lib/private/Http/Client/Client.php +++ b/lib/private/Http/Client/Client.php @@ -85,7 +85,8 @@ class Client implements IClient { } if (!isset($options[RequestOptions::HEADERS]['Accept-Encoding'])) { - $options[RequestOptions::HEADERS]['Accept-Encoding'] = 'gzip'; + // let curl populate with whatever encodings it has been built with + $options['curl'][CURLOPT_ACCEPT_ENCODING] = ''; } // Fallback for save_to |