Parcourir la source

Add very simple test page (created by Lua)

bel2125 il y a 8 ans
Parent
commit
f030c1c71e
1 fichiers modifiés avec 8 ajouts et 0 suppressions
  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>
+]])