Skip Menu |

This queue is for tickets about the HTTP-Daemon CPAN distribution.

Report information
The Basics
Id: 16330
Status: resolved
Priority: 0/
Queue: HTTP-Daemon

People
Owner: Nobody in particular
Requestors: adam.rice [...] efi.com
Cc:
AdminCc:

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



Subject: HTTP::Daemon::ClientConn::send_basic_header() always sends Server: and Date: headers
HTTP::Daemon::ClientConn::send_basic_header() always sends Server: and Date: headers, even if they already exist in the HTTP::Response object. This is a problem because send_response() always calls send_basic_header(). In my case, the HTTP::Response object is an actual response from another server, so naturally already contains those headers. Fortunately, the excellent design of the class made it easy for me to override send_basic_header() in a subclass, but it would have been nice if I hadn't had to. Irrelevant but apparently compulsory information: libwww-perl-5.803 (from CPAN, not Debian package) Perl 5.8.4 (Debian package version 5.8.4-8) Linux 2.6.11 (Debian-based custom distro)