Menu

#2 Does not retains cookies in redirection

open
nobody
None
5
2001-02-09
2001-02-09
Zbigniew
No

The LWP::UserAgent::request function does redirection
but cookies get lost in that.
I believe that is a bug in LWP but I'm convinced
you did not actually intended to use the request function
since you do the redirection yourself so
I suppose change the 433 line from:
my $res = $self->ua->request($req);
to
my $res = $self->ua->simple_request($req);

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.