in reply to Re^3: proxy problwm LWP
in thread proxy problwm LWP
will you see for one more time? its still not working
now the script is :
and on run shows error messageuse strict; use warnings; use LWP::UserAgent; my $ua = LWP::UserAgent->new(); $ua->proxy(['http', 'ftp'], 'http://192.168.64.1:3128/'); my $req = HTTP::Request->new('GET','https://twitter.com/?lang=en'); my $res = $ua->request($req); print $res->status_line;
500 Can't connect to twitter.com:443 (Bad hostname)
thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: proxy problwm LWP
by Corion (Patriarch) on May 18, 2015 at 11:43 UTC | |
by reciter (Novice) on May 18, 2015 at 12:40 UTC | |
by Corion (Patriarch) on May 18, 2015 at 12:43 UTC |