LWP::UserAgent -- Bug in $response->message
Boris 'pi' Piwinger (3.14@piology.org)
Tue, 13 Mar 2001 22:41:18 +0100
Hi!
After some discussion in de.comp.lang.perl.misc
(<3AA7785F.62A4C7B4@logic.univie.ac.at> ff) I assume there is a bug in
LWP::UserAgent. I have a while loop reading URLs from a file. Those
are fetched, if unsuccessful the response code and message are
printed. The message becomes, e.g.:
Can't connect to www.polybytes.com:80 (No route to host), <FILE> chunk
1.
Obviously everything from the comma on is not correct at this place.
Someone suggested that in LWP::Protocol::http::_new_socket the message
does not end in \n.
pi