> -----Original Message-----
> From: Erik Andersson [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 23, 2001 11:28 AM
> To: [EMAIL PROTECTED]
> Subject: Trouble with LWP::UserAgent respons header.
>
[snip]
>
> This confuses me a lot. I really want to access every
> available data in the
> first page which includes the Location header and NOT the
> content of the
> redirected page.
>
> I use this for the actual request:
> my $page = $ua->simple_request($req);
> so the agent should not proceed to the redirection page.
>
this is probably OT for this list, but...
see the HTTP::Response manpage, specifically
$r->previous([$previousResponse])
HTH
--Geoff