Subject: | [PATCH] Standalone mode fails to set the HTTP response code |
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 |