Re: [PATCH] redirection in LWP::Simple

2004-04-06 Thread Gisle Aas
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

[PATCH] redirection in LWP::Simple

2004-01-01 Thread Charles C. Fu
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'

Re: [PATCH] redirection in LWP::Simple

2003-12-31 Thread Robert G. Werner
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 =~