We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cefe1af + 855cc08 commit b8f0127Copy full SHA for b8f0127
lib/tasks/docs.thor
@@ -239,7 +239,7 @@ class DocsCLI < Thor
239
['index.json', 'meta.json'].each do |filename|
240
json = "https://documents.devdocs.io/#{doc.path}/#{filename}?#{time}"
241
begin
242
- URI.open(json) do |file|
+ URI.open(json, "Accept-Encoding" => "identity") do |file|
243
mutex.synchronize do
244
path = File.join(dir, filename)
245
File.write(path, file.read)
0 commit comments