diff options
author | Ted Trask <ttrask01@yahoo.com> | 2008-05-22 21:04:40 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2008-05-22 21:04:40 +0000 |
commit | ed5607e0a2f72fa2040944a589237640e8611e92 (patch) | |
tree | 19c33dbe0c44733d333e1d09656e5615f9cf0b16 /app/template-stream.lsp | |
parent | 70f6ba86b556dee4fdf8c8ea488979ee4e30db24 (diff) | |
download | acf-core-ed5607e0a2f72fa2040944a589237640e8611e92.tar.bz2 acf-core-ed5607e0a2f72fa2040944a589237640e8611e92.tar.xz |
Added revoking support to openssl
git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1178 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'app/template-stream.lsp')
-rw-r--r-- | app/template-stream.lsp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/template-stream.lsp b/app/template-stream.lsp index 03afd7c..a89ff0f 100644 --- a/app/template-stream.lsp +++ b/app/template-stream.lsp @@ -1,6 +1,8 @@ <? local viewtable, viewlibrary, pageinfo, session = ... ?> Status: 200 OK -Content-Type: application/octet-stream +Content-Type: <? print(viewtable.option or "application/octet-stream") ?> +<? if viewtable.label then ?> Content-Disposition: attachment; filename="<?= viewtable.label ?>" +<? end ?> <?= viewtable.value ?> |