Mercurial Hosting > luan
view website/src/examples/hi.luan @ 1150:0842b9b570f8
change http headers interface
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 04 Feb 2018 18:03:37 -0700 |
parents | 2113294ccc6d |
children | 49cf706c326a |
line wrap: on
line source
local Io = require "luan:Io.luan" local Http = require "luan:http/Http.luan" return function() Io.stdout = Http.response.text_writer() %> <html> <body> Hello World </body> </html> <% end