diff options
-rw-r--r-- | app/template-stream.lsp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/template-stream.lsp b/app/template-stream.lsp index 88713fd..d97fd11 100644 --- a/app/template-stream.lsp +++ b/app/template-stream.lsp @@ -1,6 +1,7 @@ <% local viewtable, viewlibrary, pageinfo, session = ... %> Status: 200 OK Content-Type: <% print(viewtable.option or "application/octet-stream") %> +Content-Length: <%= #viewtable.value %> <% if viewtable.label ~= "" then %> Content-Disposition: attachment; filename="<%= viewtable.label %>" <% end %> |