diff options
Diffstat (limited to 'app/template-stream.lsp')
-rw-r--r-- | app/template-stream.lsp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/template-stream.lsp b/app/template-stream.lsp index a89ff0f..1a5f3c0 100644 --- a/app/template-stream.lsp +++ b/app/template-stream.lsp @@ -1,8 +1,8 @@ <? local viewtable, viewlibrary, pageinfo, session = ... ?> Status: 200 OK Content-Type: <? print(viewtable.option or "application/octet-stream") ?> -<? if viewtable.label then ?> +<? if viewtable.label ~= "" then ?> Content-Disposition: attachment; filename="<?= viewtable.label ?>" <? end ?> - +<? io.write("\n") ?> <?= viewtable.value ?> |