From 3f555142bd5c871bd90e2c8b0e2a27fbbfa53c57 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Fri, 17 Jun 2011 19:02:48 +0000 Subject: Fixed bug with length in stream template --- app/template-stream.lsp | 1 + 1 file changed, 1 insertion(+) diff --git a/app/template-stream.lsp b/app/template-stream.lsp index 79c828e..e8a6e68 100644 --- a/app/template-stream.lsp +++ b/app/template-stream.lsp @@ -3,6 +3,7 @@ Status: 200 OK Content-Type: <% print(viewtable.option or "application/octet-stream") %> <% if viewtable.length then %> Content-Length: <%= viewtable.length %> +<% io.write("\n") %> <% end %> <% if viewtable.label ~= "" then %> Content-Disposition: attachment; filename="<%= viewtable.label %>" -- cgit v1.2.3