From: Minero Aoki Date: 2002-09-26T11:28:37+09:00 Subject: Re: http/net Hi, In mail "Re: http/net" Jim Freeze wrote: > ...but, sorry to say, I am still a big dummy with regards to net/http. > Is there a way to directly use a uri to get the page data? Net::HTTP.get accepts URI objects. Other Net::HTTP methods do NOT accept URI objects. Because: Net::HTTP.start('www.example.com') {|http| print http.get(URI.parse('http://www.ruby-lang.org/pub/ruby-1.6.6.tar.gz')) } This operation does not make sense. -- Minero Aoki