From: mathew
Date: 2005-11-12T03:17:13+09:00
Subject: Re: net/http broken?
James Britt wrote:
>tsuraan wrote:
>> The problem with this is that in ruby 1.8.2 on both my OSX box and my
>> FreeBSD computer, Net::HTTP does not have a post_form defined.
>
> Seems the docs are wrong. I had the same problem not too long ago.
The docs on ruby-doc.org are taken from the CVS head. The documentation
for net/http (which I believe I was the last person to update) reflects
the version of net/http in CVS at the time, which is the version that
became part of the Ruby 1.8.4 release.
So the docs are (probably)(*) right, you just need to either use a more
recent Ruby, or use an older version of the docs.
mathew
[ (*) I say "probably" because I didn't check the specific example code
for HTTP post already given in the sources; I just checked the code
examples I added. ]
--
My parents went to the lost kingdom of Hyrule
and all I got was this lousy triforce.