aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/App
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-05-20 11:09:46 +0200
committerMorris Jobke <hey@morrisjobke.de>2020-05-20 13:37:28 +0200
commit8123737a406a969b6cb8cce5f58355b7b8a9e053 (patch)
treec3cb08c2c3b29bd257af991a0736326e64df8b0c /lib/private/App
parent8bcd1c31da7a02e78435aa49508ed3787b11867d (diff)
downloadnextcloud-server-8123737a406a969b6cb8cce5f58355b7b8a9e053.tar.gz
nextcloud-server-8123737a406a969b6cb8cce5f58355b7b8a9e053.zip
Revert "Compress the appstore requests by default"
This reverts commit 6ffde128ad17a1ebe38f8d18b21a37d01b47c46b. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private/App')
-rw-r--r--lib/private/App/AppStore/Fetcher/Fetcher.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/private/App/AppStore/Fetcher/Fetcher.php b/lib/private/App/AppStore/Fetcher/Fetcher.php
index c109bacf135..bb39637891f 100644
--- a/lib/private/App/AppStore/Fetcher/Fetcher.php
+++ b/lib/private/App/AppStore/Fetcher/Fetcher.php
@@ -98,11 +98,12 @@ abstract class Fetcher {
$options = [
'timeout' => 10,
- 'headers' => ['Accept-Encoding' => 'gzip'],
];
if ($ETag !== '') {
- $options['headers']['If-None-Match'] = $ETag;
+ $options['headers'] = [
+ 'If-None-Match' => $ETag,
+ ];
}
$client = $this->clientService->newClient();