summaryrefslogtreecommitdiff
path: root/lib/gitlab/http_io.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-03-29 03:07:53 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-03-29 03:07:53 +0000
commitbf1cb9b8e3835560a71250e762d362bbf6c5d714 (patch)
tree055314682f2ab4b835988e43cb8339176de2f410 /lib/gitlab/http_io.rb
parent11be679c04247407791a2ed0fc42236e23389fa7 (diff)
downloadgitlab-ce-bf1cb9b8e3835560a71250e762d362bbf6c5d714.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/http_io.rb')
-rw-r--r--lib/gitlab/http_io.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/http_io.rb b/lib/gitlab/http_io.rb
index 6a9fb85b054..bd3ac139168 100644
--- a/lib/gitlab/http_io.rb
+++ b/lib/gitlab/http_io.rb
@@ -176,7 +176,7 @@ module Gitlab
end
def request
- Net::HTTP::Get.new(uri).tap do |request|
+ Net::HTTP::Get.new(uri, { 'accept-encoding' => nil }).tap do |request|
request.set_range(chunk_start, BUFFER_SIZE)
end
end