2 <head><title>Test Page</title></head>
6 <th colspan="4"> GET: </td>
10 <td><a href="test_main.lua?field1=ab&field2=cd&field1=ef">module</a></td>
13 <td>HTML template</td>
14 <td><a href="test_main.lp?field1=ab&field2=cd&field1=ef">module</a></td>
18 <th colspan="4"> POST: </td>
22 <form method="POST" action="">
26 field 1: <input type="text" name="field1"><br>
27 field 2: <input type="text" name="field2"><br>
29 <input type="checkbox" name="field3" value="op 1">op 1
30 <input type="checkbox" name="field3" value="op 2">op 2
31 <input type="checkbox" name="field3" value="op 3">op 3
37 <a href="javascript:document.forms[0].action='test_main.lua';document.forms[0].submit()">module</a>
41 <td>HTML template</td>
43 <a href="javascript:document.forms[0].action='test_main.lp';document.forms[0].submit()">module</a>
52 <th colspan="4"> POST (with upload): </td>
56 <form method="POST" enctype="multipart/form-data" action="">
60 field 1: <input type="text" name="field1"><br>
61 file (binary!): <input type="file" name="file"><br>
67 <a href="javascript:document.forms[1].action='test_main.lua';document.forms[1].submit()">module</a>
71 <td>HTML template</td>
73 <a href="javascript:document.forms[1].action='test_main.lp';document.forms[1].submit()">module</a>
81 <th colspan="4"> Cookies: </td>
85 <td><a href="test_cookies.lua">module</a></td>
88 <td>HTML template</td>
89 <td><a href="test_cookies.lp">module</a></td>
92 <th colspan="4"> Filesystem: </td>
96 <td><a href="test_fs.lua">module</a></td>
99 <th colspan="4"> Session: </td>
103 <td><a href="test_session.lua">module</a></td>
106 <th colspan="4"> CGI Variables: </td>
109 <td>HTML template</td>
110 <td><a href="test_variables.lp">module</a></td>
113 <th colspan="4"> Library Overview: </td>
116 <td>HTML template</td>
117 <td><a href="overview.lp">module</a></td>
120 <th colspan="4"> Concurrency </td>
124 <td><a href="test_conc.lua">module</a></td>