summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2008-05-21 20:46:38 +0000
committerTed Trask <ttrask01@yahoo.com>2008-05-21 20:46:38 +0000
commit95942c3746e45fce964f6dfcc4b92e731835b099 (patch)
treeeac383d89d1d262b86c14fd06a014afef8d03f83
parentc984fa82721186eb4b70664ae3afec382246b4cc (diff)
downloadacf-core-95942c3746e45fce964f6dfcc4b92e731835b099.tar.bz2
acf-core-95942c3746e45fce964f6dfcc4b92e731835b099.tar.xz
Further progress on openssl. Added template_stream to core for downloading files.
git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1172 ab2d0c66-481e-0410-8bed-d214d4d58bed
-rw-r--r--app/template-stream.lsp6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/template-stream.lsp b/app/template-stream.lsp
new file mode 100644
index 0000000..03afd7c
--- /dev/null
+++ b/app/template-stream.lsp
@@ -0,0 +1,6 @@
+<? local viewtable, viewlibrary, pageinfo, session = ... ?>
+Status: 200 OK
+Content-Type: application/octet-stream
+Content-Disposition: attachment; filename="<?= viewtable.label ?>"
+
+<?= viewtable.value ?>