Closed roccogalluzzo closed 5 years ago
@byterussian does it work both for HTTP and HTTPS URLs? And does it follow redirects (301, 302)?
Might be easier to handle these cases using not open-uri
but faraday
, which we already have as a dependency!
OpenURI follow redirects only with ruby versions >= 2.4. Switched to Faraday.
Coverage decreased (-0.2%) to 94.626% when pulling 4cce5f543b70446a037386d6e85a415a0089fb5f on byterussian:remove-downloadr into 2d70253400b1b2e965dd2b9b4f88dcf8efbec009 on datocms:master.