summaryrefslogtreecommitdiffstats
path: root/app/template-stream.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2010-07-06 15:14:40 +0000
committerTed Trask <ttrask01@yahoo.com>2010-07-06 15:14:40 +0000
commita6d184669d1201d82863fe58b09cdc0117787aa7 (patch)
tree844b27a32e4665077b752ad6779c01ae4f34c71f /app/template-stream.lsp
parent7eae14ecfef267e64defc9046fe10c5d245dde84 (diff)
downloadacf-core-a6d184669d1201d82863fe58b09cdc0117787aa7.tar.bz2
acf-core-a6d184669d1201d82863fe58b09cdc0117787aa7.tar.xz
Add Content-Length to stream template.
Diffstat (limited to 'app/template-stream.lsp')
-rw-r--r--app/template-stream.lsp1
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 %>