Created
June 2, 2016 17:38
-
-
Save designfrontier/919df59e6739246ca8ad3bcd7181d54f to your computer and use it in GitHub Desktop.
This file contains hidden or 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
writeln("setting up server...") | |
server := HttpServer clone do( | |
setPort(8090) | |
renderResponse := method(request, response, | |
list("path", "uri", "body") foreach(k, | |
v := request perform(k) | |
response body appendSeq(k .. ": " .. v .. "<br>") | |
) | |
response body appendSeq("<hr>") | |
request headers keys sort foreach(k, | |
v := request headers at(k) | |
response body appendSeq(k .. ": " .. v .. "<br>") | |
) | |
) | |
) | |
writeln("starting server...") | |
server start |
I'm not seeing this problem on my side. Have you tried installing the binary build?
@stevedekorte yeah :-( may just need to wipe it out and try again.
@stevedekorte I've tried uninstalling, installing on a clean system, building from source... nothing. Same error every time. Any thoughts on what I could try?
For anyone finding this in the future... got it working by spinning it up in a docker container. This one to be specific: https://hub.docker.com/r/nacyot/io-io/
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
and the error when running this: