Subject: | More mod_perl2 patches |
send_http_header has been removed from mod_perl 2.0. Patch to
test version < 2.0 before calling the above attached.
Subject: | Web.pm.patch |
--- Web.pm.old 2006-03-10 09:08:16.000000000 -0500
+++ Web.pm 2006-03-29 14:41:38.710001000 -0500
@@ -731,7 +731,9 @@
$content_type .= $html->{charset} || 'UTF-8';
$cfg->{request}->content_type($content_type);
- $cfg->{request}->send_http_header();
+ if($mod_perl::VERSION < 2.0) {
+ $cfg->{request}->send_http_header();
+ }
if ($html->{template}) {
$template ||= get_template ();
@@ -748,7 +750,9 @@
else {
$cfg->{request}->content_type('text/html; charset=UTF-8');
- $cfg->{request}->send_http_header();
+ if($mod_perl::VERSION < 2.0) {
+ $cfg->{request}->send_http_header();
+ }
$cfg->{request}->print($html);
}
}