in reply to Re^4: HTTP::Recorder Problem
in thread HTTP::Recorder Problem

Well, I don't know about https:/www.math.gatech.edu/, but I do have a Yahoo mail account I tested it on.

While there are instructions here on "Recording SSL sessions" using HTTP::Recorder, I was unable to successfully record anything useful when accessing http://mail.yahoo.com.

My proxy script:

#!/usr/bin/perl # myHTTPProxy.pl # Run script under Cygwin; use Netscape for browser # Goto Tools | Options... | General | Connection Settings... # Check "Manual proxy configuration" # HTTP Proxy = localhost # Port = 8080 # Click "OK" # # Also, see Perl Testing: A Developer's Notebook, pp. 135-138 # use HTTP::Proxy; use HTTP::Recorder; my $proxy = HTTP::Proxy->new(); # create a new HTTP::Recorder object my $agent = new HTTP::Recorder( showwindow => 1 ); # set the log file (optional) $agent->file("/tmp/myfile"); # set HTTP::Recorder as the agent for the proxy $proxy->agent( $agent ); # start the proxy $proxy->start(); 1;

complains of the following:

Can't locate object method "host" via package "URI::_generic" at /usr/ +lib/perl5/site_perl/5.8/HTTP/Recorder.pm line 191.

which has not been remedied by upgrading URI::_generic.

So, I'd have to say your best bet is either to contact HTTP::Recorder's author, leira, or hope some other Monk comes along who knows the answer.

Sorry I can't be of further help, although if I do find something in future, I'll return and update this node.

HTH,

planetscape