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,
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|