N
Neil Charlton
Hi
I would like to test for the existence of a .jpg image on a remote
server over HTTP.
I have tried 2 different methods but they are not what I need.
Method 1:
require 'open-uri'
if open('http://example.net/path/to/image.jpg')
end
I would like to test for the existence of a .jpg image on a remote
server over HTTP.
I have tried 2 different methods but they are not what I need.
Method 1:
require 'open-uri'
if open('http://example.net/path/to/image.jpg')
end