From 2538b885792a34617272c7375ddcc2ee4926e112 Mon Sep 17 00:00:00 2001 From: erwanlr Date: Wed, 12 Aug 2015 14:50:14 +0100 Subject: [PATCH] Adds the Accept-Encoding header when updating the DBs - Fixes #852 --- lib/common/db_updater.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/common/db_updater.rb b/lib/common/db_updater.rb index 51db5ad1..0204a9df 100644 --- a/lib/common/db_updater.rb +++ b/lib/common/db_updater.rb @@ -22,7 +22,8 @@ class DbUpdater def request_params { ssl_verifyhost: 2, - ssl_verifypeer: true + ssl_verifypeer: true, + accept_encoding: 'gzip, deflate' } end