Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] HTTP redirects

From: hallvard:ystad:helpinhand at: 5-Nov-2001 22:07

What is the right way to detect redirects (except trace/net)? Here's a guess:
>> port: open http://www.rebol.com/ >> port/url
== "http://www.rebol.com/"
>> close port
(no redirect)
>> port: open http://www.abc.com/ >> port/url
== "http://abc.go.com/"
>> close port
(redirect!) Is there some other way to do it? ~H