Forum: Ruby on Rails Verify if an URL exist

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
A00673345921ae8c2e5570d1bd48b2e2?d=identicon&s=25 J. mp (lerias)
on 2007-03-05 22:47
Hi all,

How can I know if an givel URL really exists?

My users add URLs, but I have to validade that they exists, like a ping
to the URL.

Thanks
2f9a03aa0fcfe945229cb6126eda2cb2?d=identicon&s=25 Philip Hallstrom (Guest)
on 2007-03-05 23:10
(Received via mailing list)
> How can I know if an givel URL really exists?
>
> My users add URLs, but I have to validade that they exists, like a ping
> to the URL.

open-uri...
A00673345921ae8c2e5570d1bd48b2e2?d=identicon&s=25 J. mp (lerias)
on 2007-03-05 23:11
Philip Hallstrom wrote:
>> How can I know if an givel URL really exists?
>>
>> My users add URLs, but I have to validade that they exists, like a ping
>> to the URL.
>
> open-uri...

Ok, thanks
This topic is locked and can not be replied to.