I have a web app that at some point asks for a URL … and i need to
check that url’s validity … is there a way to do that in RoR…
- in C# i would to something along the lines of
HttpWebRequest hReq =
HttpWebResponse hRes = (HttpWebResponse)hReq.GetResponse();
rCode = hRes.get_StatusCode()…etc
Any input is greatly appreciated.