Skip Menu |

This queue is for tickets about the libwww-perl CPAN distribution.

Report information
The Basics
Id: 52156
Status: resolved
Priority: 0/
Queue: libwww-perl

Owner: Nobody in particular
Requestors: user42 [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: news response "Server" header with leafnode 2
Date: Sun, 29 Nov 2009 08:59:25 +1100
To: bug-libwww-perl [...]
From: Kevin Ryde <user42 [...]>
Download (untitled) / with headers
text/plain 544b
With debian packaged libwww-perl 5.834 and perl 5.10.1, the program below prints 2.0.0.alpha20070602a, pleased to meet you! on a leafnode 2 news server, where I hoped it would have the name "Leafnode" in there. The string from $nntp->message, after Net::NNTP does "MODE READER", is Leafnode 2.0.0.alpha20070602a, pleased to meet you! but I see LWP::Protocol::nntp chops off the first word. Is there a reason for that? Perhaps it could only strip known superfluous first words, in the interests of not losing information.
text/x-perl 197b
use strict; use warnings; use LWP::UserAgent; my $ua = LWP::UserAgent->new; my $resp = $ua->head('news://localhost/comp.lang.perl.misc'); my $server = $resp->header('Server'); print $server,"\n";

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to