[REBOL] Re: HTTP redirects
From: sterling:rebol at: 5-Nov-2001 14:47
port: open http://www.abc.com/
This is the list of redirected url's. There may be more than one.
The list is empty if there were no redirects. The list contains al
lredirected url's if there were any. The last URL read is not in the
list and, as you know, can be found in port/url.
So the better one-liner to see if you got redirected after an open is:
>> empty? port/locals/list