Skip Menu |

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

Report information
The Basics
Id: 18437
Status: resolved
Priority: 0/
Queue: SVN-Web

People
Owner: Nobody in particular
Requestors: cpan [...] rickster.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.46
Fixed in: (no value)



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); } }
Thanks. This is now fixed, and will be in 0.47.