diff --git a/http/args.lua b/http/args.lua new file mode 100644 index 0000000..c2fd669 --- /dev/null +++ b/http/args.lua @@ -0,0 +1,27 @@ +return function (connection, args) + connection:send("HTTP/1.0 200 OK\r\nContent-Type: text/html\r\Cache-Control: private, no-store\r\n\r\n") + connection:send('Arguments') + connection:send('') + connection:send('

Arguments

') + +local form = [===[ +
+ First name:

+ Last name:

+ MaleFemale
+ +
+]===] + + connection:send(form) + + connection:send('

Received the following values:

') + connection:send("\n") + connection:send('') +end