Skip Menu |

This queue is for tickets about the HTTP-Recorder CPAN distribution.

Report information
The Basics
Id: 15919
Status: new
Priority: 0/
Queue: HTTP-Recorder

People
Owner: Nobody in particular
Requestors: kirankumar2kotra [...] hsbc.co.in
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: problem using the Http::Proxy behind Company Proxy
To: book [...] cpan.org
From: kirankumar2kotra [...] hsbc.co.in
Date: Fri, 18 Nov 2005 13:22:01 +0530
Hi, My name is Kotra Kiran Kumar .I am working HSBC software Pune,India. I downloaded required perl modules to use Http::Recorder. But if use the below code and use http://http-recorder in the browser it is showing your system policy is to access url. We are accessing internet through a proxy server.Can you please help me how to use Http::Recorder in our company. Quick reply will be appreciated. #!/usr/bin/perl use strict; use warnings; use HTTP::Proxy; use HTTP::Recorder; my $proxy = HTTP::Proxy->new(); $proxy->port ( 8000 ); #$proxy->host("http://127.0.0.1"); # create a new HTTP::Recorder object my $agent = new HTTP::Recorder; # set the log file (optional) $agent->file("C:\\log.txt"); # set HTTP::Recorder as the agent for the proxy $proxy->agent( $agent ); # start the proxy $proxy->start(); 1; Regards, Kiran ************************************************************ HSBC Software Development (India) Pvt Ltd HSBC Center Riverside,West Avenue , 25 B Kalyani Nagar Pune 411 006 INDIA Telephone: +91 20 26683000 Fax: +91 20 26681030 ************************************************************ ----------------------------------------- *********************************************************************** This e-mail is confidential. It may also be legally privileged. If you are not the addressee you may not copy, forward, disclose or use any part of it. If you have received this message in error, please delete it and all copies from your system and notify the sender immediately by return e-mail. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions. ***********************************************************************