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`.
This commit is contained in:
parent
dd942cd5b3
commit
0eedec6867
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user