lib/down.rb in down-2.3.6 vs lib/down.rb in down-2.3.7
- old
+ new
@@ -105,10 +105,10 @@
http.cert_store = store
end
request = Fiber.new do
http.start do
- http.request_get(url) do |response|
+ http.request_get(uri.request_uri) do |response|
Fiber.yield response
response.instance_variable_set("@read", true)
end
end
end