diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-29 06:07:53 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-29 06:07:53 +0300 |
commit | bf1cb9b8e3835560a71250e762d362bbf6c5d714 (patch) | |
tree | 055314682f2ab4b835988e43cb8339176de2f410 /lib/gitlab/http_io.rb | |
parent | 11be679c04247407791a2ed0fc42236e23389fa7 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/http_io.rb')
-rw-r--r-- | lib/gitlab/http_io.rb | 2 |
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 |