Ward Vandewege [EMAIL PROTECTED] writes:
I had some trouble using LWP::Simple (v1.36 from Debian's libwww-perl package
version 5.69-4) with this url:
http://www.tvgids.nl/
It turns out that site does an immediate redirect when hitting that url. The
webserver seems to be broken because
In [EMAIL PROTECTED] on 31 Dec 2003,
Ward Vandewege [EMAIL PROTECTED] wrote:
The latest LWP::Simple version (v1.38 from libwww-perl 5.76) does
not understand 'location' with lower-case first letter either.
The patch below (against v1.38) fixes LWP::Simple to accept a
lowercase 'location'
Ward Vandewege wrote:
[snip]
--- Simple.pm 2003-12-31 14:15:59.0 -0500
+++ Simple.pm 2003-12-31 14:16:24.0 -0500
@@ -180,7 +180,7 @@
if ($buf =~ m,^HTTP/\d+\.\d+\s+(\d+)[^\012]*\012,) {
my $code = $1;
#print CODE=$code\n$buf\n;
- if ($code =~