Do you have a question? Post it now! No Registration Necessary. Now with pictures!
April 30, 2007, 2:12 am
rate this thread
LWP doesn't seem to want to work through Privoxy (privoxy.org).
Privoxy is up and running fine through a normal browser and my script
works fine without Privoxy, but I can't get them working together.
Here is my code:
$ua = new LWP::UserAgent;
$ua->proxy(['http', 'ftp'], "http://127.0.0.1:8118 /"); # Privoxy
$req = new HTTP::Request GET => "http://anysite.com ";
$res = $ua->request($req);
... which produces this:
500 Chunked must be last Transfer-Encoding 'identity'
- » Plans: New module for event registering and raising.
- — Next thread in » PERL Modules Announcements