Mercurial Hosting > luan
view website/src/examples/hi.luan @ 486:b92fc7ec7f51
add Http.request.scheme and Http.request.is_secure
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 11 May 2015 22:08:49 -0600 |
parents | 12ee9a336b95 |
children | 2b9bc97f0439 |
line wrap: on
line source
local Io = require "luan:Io" local Http = require "luan:web/Http" function service() Io.stdout = Http.response.text_writer() %> <html> <body> Hello World </body> </html> <% end