Hi,
I fetch source from one site but in that site it asks for username and
password
in popup when site loads.
so i use following code but it do not work
http = Net::HTTP.new(“http://google.com”, 443)
http.start do |http|
req = Net::HTTP::Get.new(“/v1/tags/get”, {“User-Agent” =>
“juretta.com RubyLicious 0.2”})
req.basic_auth(username, password)
response = http.request(req)
resp = response.body
end
Any one know about how to work with popup authorization ,
please help…
Thanks,
pshah