Same here, worked well with luvit 2.1.3 version but not the last one 2.1.5.
Le vendredi 10 juillet 2015 11:02:45 UTC+2, Xpol Wan a écrit :
>
> The follow code listed on luvit.io home page does not wrok:
>
>
> ```
> local http = require('http')
>
> http.createServer(function (req, res)
> res:writeHead(200, {['Content-Type'] = 'text/plain'})
> res:finish('Hello World\n')
> end):listen(1337, '127.0.0.1')
>
> print('Server running at http://127.0.0.1:1337/')
> ```
>
> The server does receives the http request, but the browser does not
> receive any response.
>
--
You received this message because you are subscribed to the Google Groups
"luvit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.