Displaying 2 results from an estimated 2 matches for "httpnotfound".
Did you mean:
http_not_found
2008 Feb 26
1
A weird problem with open-uri
...h
it. Moreover if I execute the same thing in the console (script/console)
- it just works as expected. I start both - the server and the console
in dev.mode .
When the "open" method is executed through the application it returns
this objects as response: (inside open-uri lib).
#<Net::HTTPNotFound:0x2aaaaea89890>
When I call open in the console the response insite open-uri lib is:
#<Net::HTTPOK:0x2aaaab48d570>
System spec:
Fedora 8
Rails 2.0.2
Ruby 1.8.6
I''ll appreciate any help about where the problem could be. 10x in
advance.
--
Posted via http://www.ruby-forum.com/....
2008 Jul 08
4
Checking URL with open-uri
Hi,
I allow posting videos to youtube in my app. But before I let them save
into the DB I want to, at least, know that the users put a link to
youtube and that the link is working.
How can I do those verifications with open-uri?
Tried but got some errors...
Thanks.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message