瀏覽代碼

Add very simple test page (created by Lua)

bel2125 8 年之前
父節點
當前提交
f030c1c71e
共有 1 個文件被更改,包括 8 次插入0 次删除
  1. 8 0
      test/page5.lua

+ 8 - 0
test/page5.lua

@@ -0,0 +1,8 @@
+mg.write("HTTP/1.0 200 OK\r\n")
+mg.write("Content-Type: text/html\r\n")
+mg.write("\r\n")
+mg.write([[<html><body><p>
+Hello world!
+</p>
+</body></html>
+]])