From: Minero Aoki Date: 2005-03-29T22:01:08+09:00 Subject: Re: net/http question Hi, In mail "net/http question" Fabian Boucsein wrote: > If i use the get method from the > net/http module like this: > > h = Net::HTTP.get("/index.html", nil) > > the h variable just contains the Request > object and not like documented the array. Net::HTTP#get returns a Net::HTTP::Response object from Ruby 1.8. If you want Ruby 1.6 compatible behavior, use: require 'net/http' Net::HTTP.version_1_1 Best Regards, Minero Aoki