I am using VBScript and a Microsoft.XMLHTTP object to clear some web data. I have a list of URLs to check, but unfortunately some 301 are redirected to others in the list, so I end up with redundant data.
Is it possible for an XMLHTTP object to fail with a 301 redirect? Or at least cache the original response header? Or else just let me know what happened?
(notes: I have no control over the server from which I request data, when I receive new data, I could check if it is redundant, but I would like to avoid this if possible).
We will be very grateful for any ideas.
source
share