Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I'm trying to setup HTTP::Recorder and it states that I need to do the following:
Then, instruct your favorite web browser to use your new proxy for HTTP traffic.
My proxy.pl script looks just like the example with the exception that I'm on a windows box:
How do I tell firefox or IE to use this script for my proxy?use strict; use warnings; use HTTP::Proxy; use HTTP::Recorder; my $proxy = HTTP::Proxy->new(); # create a new HTTP::Recorder object my $agent = new HTTP::Recorder; # set the log file (optional) $agent->file("C:\\Temp\\myfile"); # set HTTP::Recorder as the agent for the proxy $proxy->agent( $agent ); # start the proxy $proxy->start(); 1;
Thanks
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Setting Web proxy for HTTP::Recorder
by planetscape (Chancellor) on Apr 29, 2007 at 15:09 UTC | |
Re: Setting Web proxy for HTTP::Recorder
by akho (Hermit) on Apr 29, 2007 at 14:32 UTC | |
by Anonymous Monk on Apr 30, 2007 at 02:04 UTC | |
Re: Setting Web proxy for HTTP::Recorder
by smahesh (Pilgrim) on Apr 30, 2007 at 03:38 UTC |
Back to
Seekers of Perl Wisdom