K> data = “”
K> https.start{|h|
K> h.get2(url) {|resp|
K> data = resp.body
K> }
K> }
now my question: is it possible to turn https.verify_mode =
OpenSSL::SSL::VERIFY_NONE on for all new Net::HTTP instances? I want to
prevent getting that warning while I run my tests.
worry about authentication at all. Here’s the relevant code:
When I run this, it works great but gives me (on STDERR):
K> https = Net::HTTP.new(URL, 443)
now my question: is it possible to turn https.verify_mode =
OpenSSL::SSL::VERIFY_NONE on for all new Net::HTTP instances? I want to
prevent getting that warning while I run my tests.