From: Hugh Sasse Staff Elec Eng Date: 2003-03-28T20:43:38+09:00 Subject: Re: 1.8 docs in progress? On Fri, 28 Mar 2003, Minero Aoki wrote: > Hi, > > In mail "1.8 docs in progress?" > Hugh Sasse Staff Elec Eng wrote: > > > resp, data= h.get(website.path) > > > resulting in data being nil in 1.8, instead of just being empty or > > containing something useful which is what I had from the same page > > in 1.6.[78]. > > Try > > require 'net/http' > Net::HTTP.version_1_1 > Thank you (and for the info on ruby-doc also). > > > Net::HTTP has chnaged somewhat, most of the arguments associated > > with this are now called arg1, arg2, arg3, so that the Rdoc results > > are not as meaningful as would be ideal. > > Please refer embedded RD document now. Thanks. I'll note here that you explained on Ruby-doc why the args are like this: because of the semantics changing when only some are supplied. They can be called with (uri) or (host, path, [port]). > > Regards, > Minero Aoki > > Thank you. Hugh