From: Dave Thomas Date: 2001-06-22T03:11:25+09:00 Subject: [ruby-talk:16720] Re: Net::ProtoRetriableError: 302 Found Alan Tsang writes: > I try to retrieve some data from an internet site using > Net::HTTP.new('host').post('path', 'data') but get the following error. > > Net::ProtoRetriableError: 302 Found > from /usr/local/lib/ruby/1.6/net/protocol.rb:269:in `error!' > from /usr/local/lib/ruby/1.6/net/http.rb:1089:in `value' > from /usr/local/lib/ruby/1.6/net/http.rb:471:in `post' > from (irb):12 This means you're been redirected from the page you tried to access to a new page. You'll find sample code to handle this in the book on page 491, or in the online version http://www.rubycentral.com/book/lib_network.html (search for ProtoRetriable) Dave