From: mhale@... (Michael Hale) Date: 2002-04-05T04:32:31+09:00 Subject: problem with http - 302 error When I run this on windows against a url that returns a 302 it recurses through again and gets to the correct url. However running this same code on debian with ruby 1.6 I get the following error on my stack trace. Any suggestions? ERROR: 302 Moved Temporarily /usr/local/lib/ruby/lib/ruby/1.6/net/protocol.rb:230:in `error!' /usr/local/lib/checkout/ruby/lib/ruby/1.6/net/http.rb:1233:in `value' /usr/local/lib/checkout/ruby/lib/ruby/1.6/net/http.rb:575:in `get' REDIRECT = "302" OK = "200" SERVER_ERROR = "500" response, = http.get(url.request_uri, headers, content) case(response.code) when REDIRECT successful = load_page(response['location']) when SERVER_ERROR message = "Loading the url <#{url}> resulted in an internal server error: \n<#{content}>" when OK successful = true else message = "Loading the url <#{url}> resulted in an unknown response code: #{response.code}" end