Hi,
how to handle a 302?
rescue Net::ProtoRetriableError => detail
head = detail.data
head.each {|key,val| puts "#{key} #{val}"}
gives
pragma no-cache
date Thu, 07 Mar 2002 23:43:37 GMT
location
http://groups.yahoo.com/group/svg-developers/auth?done=%2Fgroup%2Fsvg-developers%2Fmessage%2F12831
connection close
content-type text/plain
expires Fri, 01 Jan 1999 00:00:00 GMT
cache-control no-cache, no-cache="Set-Cookie", private
server Apache/1.3.3 (Unix)
transfer-encoding chunked
I need to get the file located @ above location. ('Authorization' is
supplied)
TIA,
Tobi
--
* peace&love.
* http://www.pinkjuice.com/