Hi, At Fri, 8 Mar 2002 08:46:36 +0900, Tobias Reif wrote: > how to handle a 302? 302 means `Moved Temporarily'. > rescue Net::ProtoRetriableError => detail > head = detail.data > head.each {|key,val| puts "#{key} #{val}"} > I need to get the file located @ above location. ('Authorization' is > supplied) Retry for the location. begin http.get(location) { ... } rescue Net::HTTPMovedPermanently, Net::HTTPMovedTemporarily => detail location = detail.data["location"] retry end -- Nobu Nakada