bug: fail to redirect

Hellow.
This is a bug report.
Version: libwww-perl.5.805-1.1.1

If a http server send you 'Moved Temporarily' and it's headers have
same plural locations, you cannot redirect to a proper location.
for example, when you read locations like
'Location',
'/new/location.html',
'Location',
'/new/location.html',
,the result uri will be
'http://base/new/location.html,%20/new/location.html'.

Is it not standard that a http server makes a reply with many locations ?
But, such a server does exist.

Bye.

YAMAMOTO Tetsuya
biz [ Do, 04 Januar 2007 05:45 ] [ ID #1585110 ]
Perl » perl.libwww » bug: fail to redirect

Vorheriges Thema: RE: fail to redirect
Nächstes Thema: Re: :Mechanize question