Andrew

Thanks that did the trick.  

-b

On Tue, March 7, 2006 10:43 am, Andrew Gaffney said:
> I recently ran into this same problem. My solution was to use:
> 
> $r->err_headers_out->add('Content-disposition' => $disposition);
> 
> beer wrote:
>> Hi
>> 
>> We recently upgraded out infrastructure to Mason 1.24 using mod_perl2.
>> 
>> I have a component used to download files.  I set the
>> Content-Disposition to 'attachment' before the download to enforce
>> downloading rather than viewing of the files.  I previously did this as
>> follows:
>> 
>> $r->header_out('Content-Disposition' => $disposition);
>> 
>> This method is no longer available to me.  I looked through
>> RequestRec.pm and cant find a method to set the disposition.  Anyone
>> have any ideas?
> 
> -- Andrew Gaffney Network Administrator Skyline Aeronautics, LLC.
> 
> 



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to