2008/11/7 Dr. Jennifer Nussbaum <
bg271828@...>:
> Anyone willing to help me on this? :-) Im only missing four bytes, somewhere.... Or adding them rather.
>
> Jen.
I can't test this from where I am writing but as Adeola says.
Open a temporary FH, binmode it, pour the content in. Then under MP2 you would
$r->sendfile($tmpfh);
content_type is 'application/pdf'
I guess the Cat alternative would be
$res->write( $tmpfh );
but you'd want to check that :)
Dp.
_______________________________________________
List:
Catalyst@...
Listinfo:
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalystSearchable archive:
http://www.mail-archive.com/catalyst@.../Dev site:
http://dev.catalyst.perl.org/