Skip Menu |

This queue is for tickets about the CGI-Application-Plugin-Stream CPAN distribution.

Report information
The Basics
Id: 96525
Status: new
Priority: 0/
Queue: CGI-Application-Plugin-Stream

People
Owner: Nobody in particular
Requestors: reinoud.bokhorst [...] bmtargoss.com
Cc:
AdminCc:

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



Subject: The Stream plugin in combination with CGI::Application::Plugin::Apache
Date: Wed, 18 Jun 2014 11:11:39 +0200
To: bug-CGI-Application-Plugin-Stream [...] rt.cpan.org
From: Reinoud Bokhorst <reinoud.bokhorst [...] bmtargoss.com>
Hi, It seems that the Stream plugin doesn't work incombination with CGI::Application::Plugin::Apache because then $self->query is no longer a CGI instance but instead a Apache2::Request instance. The latter doen't support the "header()" method. I fixed it by replacing the following line in Stream::stream_file(): print $self->query->header( $self->header_props() ); with print $self->_send_headers(); $self->header_type( 'none' ); System details: - CGI-Application-Plugin-Stream-2.11 - CGI-Application-Plugin-Apache-1.02 - perl v5.8.8 - Linux <hostname> 2.6.18-164.9.1.el5 #1 SMP Tue Dec 15 14:59:21 EST 2009 x86_64 x86_64 x86_64 GNU/Linux Cheers, Reinoud Bokhorst