summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--tool/downloader.rb1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index b2d741417b..4c6253d086 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/tool/downloader.rb b/tool/downloader.rb
index c5f18f1f16..fcf456bd53 100644
--- a/tool/downloader.rb
+++ b/tool/downloader.rb
@@ -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