From: Davide Benini Date: 2008-09-12T01:28:35+09:00 Subject: Re: How to check if a webpage exists > I extended the format, so this should work: > http://p.ramaze.net/1962 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 -- Posted via http://www.ruby-forum.com/.