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

Thanks for your help but I couldn't get into "http://www.bitmistress.org/websvn" is it moved to some other place? siva.

Replies are listed 'Best First'.
Re^3: HTTP::Recorder Problem
by planetscape (Chancellor) on Nov 01, 2005 at 20:05 UTC

    Hmmm... I can't access it now, either. When I talked to leira, she did say she was in the middle of a cross-country move; that may have something to do with it.

    I would normally never post another's work, but given the fact the module is released under the GNU Public License and that it was publically downloadable at least as of September 27, 2005 when I retrieved it, it is probably ok to post a diff of the current CPAN version and the version I downloaded. (Plus I ran the idea by the folks in the CB first. :-) )

    Update: added <readmore> tags

    HTH,

    planetscape
      Hi planetscape, I made the changes as your diff file and now I need Request.pm file. siva.

        Looks like you also have to have HTTP::Request installed, which is part of libwww.

        HTH,

        planetscape
      how come that some other website's log-in information would no t be recorded in the HTTP::Recorder Control Panel? like mail.yahoo.com..and some other website's links would not be recorded like..https:/www.math.gatech.edu/ do i need to modify the recorder.pl? thanks

        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