* 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
@ -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>
|
||||
|
||||
* doc/contributing.rdoc: update Maintainers list.
|
||||
|
@ -91,6 +91,7 @@ class Downloader
|
||||
options['If-Modified-Since'] = since
|
||||
end
|
||||
end
|
||||
options['Accept-Encoding'] = '*' # to deisable Net::HTTP::GenericRequest#decode_content
|
||||
options
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user