[cgiapp] ...::Server's handle_request, ...Pluging::Stream and binary files.

2007-02-20 Thread George Hartzell
Hi Stevan and Rob (and the cgiapp community), I spent a while last night learning to use cgiapp::Plugin::Stream to return an excel spreadsheet (built w/ Spreadsheet::WriteExcel) in response to a request. I had it almost working very quickly, but the file I sent wasn't something gnumeric could op

Re: [cgiapp] ...::Server's handle_request, ...Pluging::Stream and binary files.

2007-02-20 Thread Michael Peters
George Hartzell wrote: > my $stdout = join "\x0d\x0a", $capture->read; > > If I rework that to: > > my $stdout = join "", $capture->read; > > then my binary excel files are streamed properly. My normal html > pages still seem to work too. > > Have I broken anything important? Looks ok

Re: [cgiapp] ...::Server's handle_request, ...Pluging::Stream and binary files.

2007-02-20 Thread George Hartzell
Michael Peters writes: > > > George Hartzell wrote: > > > my $stdout = join "\x0d\x0a", $capture->read; > > > > If I rework that to: > > > > my $stdout = join "", $capture->read; > > > > then my binary excel files are streamed properly. My normal html > > pages still seem to