Created
March 21, 2015 19:38
-
-
Save alvatar/d3faf37d101ae1f5041a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(sack-start! | |
(lambda (env) | |
(let ((ret #t)) | |
(values 200 | |
'(("Content-Type" . "text/plain")) | |
(lambda () | |
(and | |
ret | |
(begin | |
(set! ret #f) | |
(with-output-to-u8vector | |
(list char-encoding: 'UTF-8) | |
(lambda () | |
(write (env 'sack:uri)) (print "Hello, world!"))))))))) | |
port-number: 3333) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment