Skip Menu |

This queue is for tickets about the POE-Component-Server-SimpleHTTP CPAN distribution.

Report information
The Basics
Id: 12465
Status: resolved
Priority: 0/
Queue: POE-Component-Server-SimpleHTTP

People
Owner: Nobody in particular
Requestors: chris [...] bingosnet.co.uk
Cc:
AdminCc:

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



Subject: Not passing HEADERS parameter to new() causes 'usage' error
Tested under perl 5.8.6 and perl 5.6.1 with latest release of libwww. Not passing HEADERS or passing empty hashref to HEADERS in new() ( as per the example in the docs ), causes 'Usage: $h->header($field, ...) at (eval 101) line 1' error when clients connect to the component. Managed to work around this 'feature' by passing HEADERS => { Server => 'Blah/3.0' } Cheers.