Either I'm crazy, or this should work:
select case httpstatus
case 200
AutoUpdateController.Install(file)
case 301 or 302 or 303 or 307
me.get(headers.value("Location"),file)
system.debuglog("AutoUpdateSocket Redirect: " + headers.value
("Location"))
end
When httpstatus is 302, this syntax skips right over it. Is this a
bug with the select structure, or with my logic.
Note: Do not criticize my lack of error checking and such, I'm still
in the preliminary stages.
--
Thom McGrath
The ZAZ Studios
<http://www.thezaz.com/> AIM: thezazstudios
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|