>I have a website which uses autohandlers for formatting. >I have a dhandler buried three directories down. >Most of the time the dhandler renders content which wants to >be wrapped. >Occasionally it needs to send a file. > >To achieve this I wanted to do something like: >$r->conent_type('application/excel'); >$m->clear_buffer; >print $content; >$m->flush_buffer; >return $m->abort(200);
Okay, errie... This actually works, so problem solved. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users