Hi
In my code I have a http fetcher that puts received content into a
file for a set of urls. The content includes all the headers received
(the complete stream of data for a request from the server).
At a later time I parse it using the html parser. This part of the
code seems to work, in the sense I am able to extract links in those
pages using the parser.
My question is - how do I get hold of the http status code ,
specifically when it is a 302 kind and then get hold of the new
location.
Thanks,
-Antony
|