search for: get_statuscod

Displaying 1 result from an estimated 1 matches for "get_statuscod".

Did you mean: get_statuscode
2007 Apr 05
2
URL check URL validity
...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 = (HttpWebRequest)WebRequest.Create(url................); HttpWebResponse hRes = (HttpWebResponse)hReq.GetResponse(); rCode = hRes.get_StatusCode()...etc Any input is greatly appreciated. Thank you, --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3Mboc...