ruby/open-uri

Adding option to allow redirects from https to http

Opened this issue · 0 comments

Putting up a feature request to allow passing in an option or something to permit redirects from https links to http. I realize there are some security considerations here, but sites redirecting their https links to http has been extremely common, and for simply fetching data from a page with no cookies, the risk seems minimal. And no less safe than if you had provided the http link first.

Currently it would seem the only option is to monkey patch open-uri.