Skip Menu |
 

This queue is for tickets about the Pod-POM-Web CPAN distribution.

Report information
The Basics
Id: 26529
Status: resolved
Priority: 0/
Queue: Pod-POM-Web

People
Owner: Nobody in particular
Requestors: chris+rt [...] chrisdolan.net
Cc:
AdminCc:

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



Subject: [PATCH] Standalone mode fails to set the HTTP response code
Download (untitled) / with headers
text/plain 475b
I get the following error on every hit when running in standalone mode: Use of uninitialized value in pattern match (m//) at /Users/chris/perl/lib/perl5/site_perl/HTTP/Daemon.pm line 421. That line is a regexp on $code, the HTTP response code. Looking at the Pod::POM::Web code I see that you never set the HTTP::Response->code() anywhere. The attached patch corrects that. Note: the patch only fixes standalone HTTP::Daemon mode. I did not test mod_perl or CGI modes.
Subject: patch
Download patch
application/octet-stream 958b

Message body not shown because it is not plain text.

patch applied in 1.02, thanks


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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.