mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* tool/downloader.rb (http_options): prevent content auto decoding
because this is a downloader. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
06d95893b0
commit
886d8e3f40
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Mon Apr 6 11:26:42 2015 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
|
* tool/downloader.rb (http_options): prevent content auto decoding
|
||||||
|
because this is a downloader.
|
||||||
|
|
||||||
Sun Apr 5 09:55:18 2015 NAKAMURA Usaku <usa@ruby-lang.org>
|
Sun Apr 5 09:55:18 2015 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
* doc/contributing.rdoc: update Maintainers list.
|
* doc/contributing.rdoc: update Maintainers list.
|
||||||
|
|
|
@ -91,6 +91,7 @@ class Downloader
|
||||||
options['If-Modified-Since'] = since
|
options['If-Modified-Since'] = since
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
options['Accept-Encoding'] = '*' # to deisable Net::HTTP::GenericRequest#decode_content
|
||||||
options
|
options
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue