diff options
author | Ted Trask <ttrask01@yahoo.com> | 2011-06-17 19:02:48 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2011-06-17 19:02:48 +0000 |
commit | 3f555142bd5c871bd90e2c8b0e2a27fbbfa53c57 (patch) | |
tree | 531b3f5771fa2c7db7cf5a13501265bd4c1346e6 | |
parent | fa18df2b8e0bfd188fa5efd368fa84611641ee75 (diff) | |
download | acf-core-3f555142bd5c871bd90e2c8b0e2a27fbbfa53c57.tar.bz2 acf-core-3f555142bd5c871bd90e2c8b0e2a27fbbfa53c57.tar.xz |
Fixed bug with length in stream template
-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 %>" |