Une BĂ©vue wrote:
> Une Bvue <unbewusst.sein / google.com.invalid> wrote:
> 
>> does it mean Net:HTTP wants to translate the numbers given ?
> not at all, i wasn't reading the right line...
> sorry for the noise
> 
> however it seems Net::HTTP can't download a file from an unregistered
> domain :

Net::HTTP.start doesn't take a url, it takes a hostname and optional 
port.

>> res = Net::HTTP.start('216.239.59.147') { |h| h.get('/') }
=> #<Net::HTTPOK 200 OK readbody=true>
-- 
Posted via http://www.ruby-forum.com/.