From 0eedec68673fa74960dec80b26659263ec3b6a9a Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA Date: Tue, 30 Apr 2019 22:35:38 +0900 Subject: Change Accept-Encoding from `*` to `identity` When `Accept-Encoding` is `*`, http://www.unicode.org/Public/12.1.0/ucd/ returns gzipped content now. So set `identity`. --- tool/downloader.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/downloader.rb b/tool/downloader.rb index 29cf435f19..77eab26f63 100644 --- a/tool/downloader.rb +++ b/tool/downloader.rb @@ -121,7 +121,7 @@ class Downloader options['If-Modified-Since'] = since end end - options['Accept-Encoding'] = '*' # to disable Net::HTTP::GenericRequest#decode_content + options['Accept-Encoding'] = 'identity' # to disable Net::HTTP::GenericRequest#decode_content options end -- cgit v1.2.3