Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: garrison [...] codefix.net
Cc:
AdminCc:

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



Subject: Yet another SVN::Web mp2 patch
Date: Mon, 01 May 2006 00:56:46 -0400
To: bug-SVN-Web [...] rt.cpan.org
From: Garrison Hoffman <garrison [...] codefix.net>
Hey, it's the mod_perl2 guy again. MP2 syntax is $cfg->{request}->headers_out(); This patch should pass the tests ;) -- Show quoted text
__________________________________________________________________ Garrison Hoffman Codefix Consulting 1.718.210.3445 garrison@codefix.net http://codefix.net/ 1.866.456.0584
Index: Web.pm =================================================================== --- Web.pm (revision 3) +++ Web.pm (working copy) @@ -731,7 +731,12 @@ $content_type .= $html->{charset} || 'UTF-8'; $cfg->{request}->content_type($content_type); - $cfg->{request}->send_http_header(); + if($mod_perl::VERSION >= 1.99) { + $cfg->{request}->headers_out(); + } + else { + $cfg->{request}->send_http_header(); + } if ($html->{template}) { $template ||= get_template ();
Subject: Re: [rt.cpan.org #19004] SVN::Web mp2 patch
Date: Tue, 02 May 2006 02:51:58 -0400
To: bug-SVN-Web [...] rt.cpan.org
From: Garrison Hoffman <garrison [...] codefix.net>
I see someone has already submitted patches for this issue, but it seems they neglected to include a call to headers_out() which is the MP2 equivalent of send_http_header(). -- Show quoted text
__________________________________________________________________ Garrison Hoffman Codefix Consulting 1.718.210.3445 garrison@codefix.net http://codefix.net/ 1.866.456.0584
Thanks. This is now fixed, and will be in 0.47.