[HTTP-Recorder] Can't locate object method "host" via package
"URI::_generic" at Recorder.pm line 157.
Uong, Hoang D
hoang.d.uong at intel.com
Thu Apr 7 20:46:10 EDT 2005
Hi
I use the HTTP::Recorder version 03.03_01. I am able to
record the http action (I used the script posted by Lippmann, Richard
in July 2004).
I have some questions:
1. I see lots of errors like below, can I ignore them ?
Can't locate object method "host" via package "URI::_generic" at
/usr/lib/perl5/site_perl/5.8.5/HTTP/Recorder.pm line 157.
Can't locate object method "host" via package "URI::_generic" at
/usr/lib/perl5/site_perl/5.8.5/HTTP/Recorder.pm line 157.
...
2. Why I always see get("http://...../favicon.ico") - I found a
file
named /tmp/favicon.ico. When I removed this file the above statement
goes away:
$agent->get("http://www.yahoo.com/");
$agent->get("http://www.yahoo.com/favicon.ico"); <================
$agent->follow_link(text => "My Yahoo!", n => "1");
$agent->get("http://www.netscape.com/");
$agent->follow_link(n => "9");
$agent->get("http://browser.netscape.com/favicon.ico"); <==============
$agent->get("http://ar.atwola.com/content/B0/0/H7pTL2Luf0_kw3xmlj8W1sns8
a9RRNke8_SAqLzKBa609jmULHVa8jgFKtiL69KXgComDR6NDWvkUrkPppf7MjzVmDfgFlqFP
Q9VMwLhnF0$/aol");
$agent->get("http://browser.netscape.com/favicon.ico"); <==============
$agent->get("http://www.google.com/");
$agent->follow_link(text => "Groups", n => "1");
3. I try to goto "www.intel.com". I do not see any thing recorded.
It is blank.
Thanks so much for your help.
Hoang
Can't locate object method "host" via package "URI::_generic" at
/usr/lib/perl5/site_perl/5.8.5/HTTP/Recorder.pm line 157.
Can't locate object method "host" via package "URI::_generic" at
/usr/lib/perl5/site_perl/5.8.5/HTTP/Recorder.pm line 157.
Can't locate object method "host" via package "URI::_generic" at
/usr/lib/perl5/site_perl/5.8.5/HTTP/Recorder.pm line 157.
Can't locate object method "host" via package "URI::_generic" at
/usr/lib/perl5/site_perl/5.8.5/HTTP/Recorder.pm line 157.
Can't locate object method "host" via package "URI::_generic" at
/usr/lib/perl5/site_perl/5.8.5/HTTP/Recorder.pm line 157.
Can't locate object method "host" via package "URI::_generic" at
/usr/lib/perl5/site_perl/5.8.5/HTTP/Recorder.pm line 157.
Can't locate object method "host" via package "URI::_generic" at
/usr/lib/perl5/site_perl/5.8.5/HTTP/Recorder.pm line 157.
Can't locate object method "host" via package "URI::_generic" at
/usr/lib/perl5/site_perl/5.8.5/HTTP/Recorder.pm line 157.
Can't locate object method "host" via package "URI::_generic" at
/usr/lib/perl5/site_perl/5.8.5/HTTP/Recorder.pm line 157.
More information about the HTTP-Recorder
mailing list