examples/lua-example.lua
changeset 33 ba41bfbe87a2
parent 22 822094314703
--- a/examples/lua-example.lua	Tue Jun 09 12:01:57 2015 -0700
+++ b/examples/lua-example.lua	Tue Jun 09 16:36:16 2015 -0700
@@ -13,6 +13,6 @@
 -- how easy it is to do custom stuff.
 --
 if os.time() % 2 == 0 then
-	return string.format( "%d:http://example.com%s", redir, request.path )
+	return string.format( "OK status=%d url=http://example.com%s", redir, request.path )
 end