WWW-Mechanize - HTTPS www:mechanize

Posted on Sat Apr 5 09:08:30 2008 by cooolside
HTTPS www:mechanize
Consider the following code:

require 'rubygems'
require 'logger'
require 'mechanize'

@agent = WWW::Mechanize.new{|obj| obj.log = Logger.new(STDERR)}
@agent.user_agent_alias = 'Mac FireFox'
@agent.redirect_ok = true
page = @agent.get('https://www.humana-one.com/secured/individual-health-insurance-quotes.asp')


The request is hanging, any comments are highly appreciated.
Write a response