2008/11/7 Dr. Jennifer Nussbaum <[EMAIL PROTECTED]>: > 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@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/