I am trying to control an InternetExplorer.Application
via the COM interface, using Perl, Win32::OLE
, and information from MSDN. My goal is to get as good an idea as possible about what IE is doing. (Related to this question.)
IE uses events to notify my program when it has finished various stages of processing a certain URL (NavigateComplete2
, DownloadComplete
DocumentComplete
). It can also tell my program about various errors it encounters (NavigateError2
). I consider that part of my problem solved well enough.
I would also like to be able to reliably detect if IE is redirected by the server. Primarily, I'm concerned about HTTP 30x status codes. Is there a way to do this, either with COM automation or via another route?