From: Priyank Shah Date: 2010-09-09T19:50:08+09:00 Subject: how to do authorization in pop up using net/http or open-ur 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 -- Posted via http://www.ruby-forum.com/.