diff options
author | Thomas Hintz <t@thintz.com> | 2015-04-03 11:28:28 -0700 |
---|---|---|
committer | Thomas Hintz <t@thintz.com> | 2015-04-03 11:28:28 -0700 |
commit | e87ffff5dd5a409c6a53195c269aa9ffe7ad71a4 (patch) | |
tree | 704f48d2e09090d68624fca1cc5939d8f9865a9e | |
parent | 1dfd420bac3487d1f57f65d5344ae418d196ddad (diff) | |
download | simple-e87ffff5dd5a409c6a53195c269aa9ffe7ad71a4.tar.gz |
Flushing output after each chunk.
-rw-r--r-- | simple.scm | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -215,7 +215,8 @@ (printf "~X" (string-length contents)) (display "\n") (display contents) - (display "\n")) + (display "\n") + (flush-output (response-port (current-response)))) (define (define-page path contents #!key css title doctype headers charset (method 'GET) use-session) ;; for define-session-page |