[Catalyst] Using Content-Disposition Header
Mutant
mutant.nz at gmail.com
Tue Aug 30 19:18:27 CEST 2005
Hi,
Is there any way to use the 'Content-Disposition' header with Catalyst to
prompt the user to download a file?
Using the Apache module, I'd simply set up the header, open the file, and
print the contents to STDOUT.
Under Catalyst doing this, or setting $c->res->body() to the contents causes
the file to get corrupted (because it's treating it as text?)
Any help would be appreciated.
Thanks,
Sam.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/catalyst/attachments/20050830/ffbd38f8/attachment.htm
More information about the Catalyst
mailing list