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