[Dancer-users] send_file Content-Disposition

sawyer x xsawyerx at gmail.com
Mon Feb 7 23:13:34 CET 2011


On Tue, Feb 8, 2011 at 12:10 AM, Richard Huxton <dev at archonet.com> wrote:

> On 07/02/11 21:52, sawyer x wrote:
>
>> On Mon, Feb 7, 2011 at 11:44 PM, Flavio Poletti <polettix at gmail.com
>>    Do you mean that header and send_file should play well together like
>>    the OP is hoping,
>>
>> Yup! :)
>>
>> Any ideas, comments?
>>
>
> Are we talking about merging the elements into the one function-call?
>  send_file(
>    $contents,
>    type=>'text/foo',
>    as_attachment=>'myfile.foo' )
>

My thoughts are more of fixing send_file itself, so Matthew (and anyone
else) could just do send_file($filename).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.backup-manager.org/pipermail/dancer-users/attachments/20110208/089aae87/attachment.htm>


More information about the Dancer-users mailing list