view website/src/examples/hi.luan @ 745:9c1f28b26395

a uri can now write another uri which copies the content
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 13 Jul 2016 21:27:23 -0600
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