Hello all. I am trying to return a binary file from a subcomponent. However, the autohandler and requested component (e.g. index.html) are being sent to the client along with the binary info, thus corrupting the data. Is it possible to get ONLY the output from a subcomponent and somehow suppress the requested component and autohandler?
Here is an example stack of what I am dealing with: autohandler -> index.html -> download.mas ...where download.mas actually sends the binary info. Here is the code I am using in my download.mas component: $r->content_type('application/octet-stream'); $r->header_out('Content-disposition' => ("attachment; filename=name.bin")); $m->print($binary_data); ------------------------------------------------------------------------- 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