Subject: | www.sprachreisen.de |
Date: | Tue, 15 Mar 2011 21:28:23 +0100 |
To: | "Lars Dɪá´á´á´á´á´¡ 迪ææ¯ via RT" <bug-libwww-perl [...] rt.cpan.org> |
From: | eleonora45 [...] gmx.net |
Thank you.
-------------------------------------------------
my $ua = LWP::UserAgent->new;
$ua->agent('Mozilla/5.0 a'); # with an additional 'a' goes, w/o not.
$ua->timeout(10);
$ua->env_proxy;
my $response = $ua->get('http://www.sprachreisen.de/');
---------------------------------------------------
The site requires at least one character after mozilla/5.0, then
it works properly.
Thanks a lot for your help, it made my life much easier.
-eleonora
<URL: https://rt.cpan.org/Ticket/Display.html?id=66277 >
FWIW, I get
http://www.sprachreisen.de does not exist
403 Access Forbidden at lwp.pl line 28.
That site deliberately blocks lib-wwwperl. See the output of
lwp-request -m GET -USe http://www.sprachreisen.de
--
GMX DSL Doppel-Flat ab 19,99 Euro/mtl.! Jetzt mit
gratis Handy-Flat! http://portal.gmx.net/de/go/dsl