D
Davide Benini
I extended the format, so this should work:
Hi Micheal, with the HOST part added ti the request it works better, now
I get to sort positive/negative responses.
I still get false positives, because my ISP has decided to issue a
redirect to his own error page in case of missing pages, but as I said I
am going to catch these cases later, when I parse the code with hpricot.
As a matter of fact, I don't think the response is enough to see if the
page loaded correctly; many pages might work with a redirect, if ISPs
decide to give a redirect also for wrong pages, well, I don't think
there's any chance to tell the difference.
Thanks for your help,
Davide
Hi Micheal, with the HOST part added ti the request it works better, now
I get to sort positive/negative responses.
I still get false positives, because my ISP has decided to issue a
redirect to his own error page in case of missing pages, but as I said I
am going to catch these cases later, when I parse the code with hpricot.
As a matter of fact, I don't think the response is enough to see if the
page loaded correctly; many pages might work with a redirect, if ISPs
decide to give a redirect also for wrong pages, well, I don't think
there's any chance to tell the difference.
Thanks for your help,
Davide