displayMsg ("Redirected to " + t.Location + ".")
method = "GET" //see section 10.3.4 of RFC2068
local (adrsubtable = @adrRedirectInfo^.[string.padWithZeros (sizeof (adrRedirectInfo^) + 1, 5)])
new (tableType, adrsubtable)
adrsubtable^.code = statusCode
adrsubtable^.server = redirectServer
adrsubtable^.port = port
adrsubtable^.path = redirectPath
httpResult = tcp.httpClient (method, redirectServer, port, redirectPath, proxy, proxyPort, proxyUserName, proxyPassword, data, datatype, username, password, adrHdrTable, cookiesOn, debug, timeOutTicks, flMessages, --ctFollowRedirects, flJustHeaders, flAcceptOpml, flUseProxy, adrRedirectInfo)