diff options
author | Ted Trask <ttrask01@yahoo.com> | 2011-06-17 19:02:48 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2011-06-27 14:47:54 +0000 |
commit | 590df92e002bbafa07bb3cb80413e1ea9df939f6 (patch) | |
tree | 75aa9a0cb1c1f8b369e9a8ffb7792e3e4d7e6aed /app | |
parent | cf323e9082b99baf8ac124a9f9647a446287a06a (diff) | |
download | acf-core-590df92e002bbafa07bb3cb80413e1ea9df939f6.tar.bz2 acf-core-590df92e002bbafa07bb3cb80413e1ea9df939f6.tar.xz |
Fixed bug with length in stream template
(cherry picked from commit 3f555142bd5c871bd90e2c8b0e2a27fbbfa53c57)
Diffstat (limited to 'app')
-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 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 %>" |