I had this problem. My targeted web page is a bit snitty and insisted on
also receiving a user-agent.

myData = \
open('http://my.target.site&search=Find', \
"User-Agent" => "Ruby/#{RUBY_VERSION}" )
myData.each {|x| puts x  + '\n'}

I hope this wasn't too late for you to use.