i had a strange problem of unable to call Net::HTTP.get_response in
thread
example this work well
Net::HTTP.get_response(URI.parse(“http://www.google.com/”))
however when i called inside a thread it does not work it does not work,
i was wondering why.
Thread.new do
Net::HTTP.get_response(URI.parse(“http://www.google.com/”))
end