[Dancer-users] send_file Content-Disposition

Richard Huxton dev at archonet.com
Mon Feb 7 23:10:12 CET 2011


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' )

-- 
   Richard Huxton
   Archonet Ltd


More information about the Dancer-users mailing list