Lines Matching full:n
1 mg.write("HTTP/1.1 200 OK\r\n")
2 mg.write("Connection: close\r\n")
3 mg.write("Content-Type: text/html\r\n")
4 mg.write("\r\n")
6 mg.write("<!DOCTYPE html>\r\n")
7 mg.write("<html>\r\n")
8 mg.write("<head>\r\n")
9 mg.write(" <meta charset=\"UTF-8\">\r\n")
10 mg.write(" <title>HTTP reflector</title>\r\n")
26 mg.write("</head>\r\n")
27 mg.write("<body>\r\n")
29 mg.write(" <h1>HTTP reflector</h1>\r\n")
30 …ethod .. " " .. mg.request_info.request_uri .. " HTTP/" .. mg.request_info.http_version .. "\r\n")
32 mg.write(" <h2>Header</h2>\r\n")
33 mg.write(" <table>\r\n");
34 mg.write(" <tr>\r\n");
35 mg.write(" <th>Header Name</th>\r\n")
36 mg.write(" <th>Value</th>\r\n")
37 mg.write(" </tr>\r\n");
39 mg.write(" <tr>\r\n");
40 mg.write(" <td>" .. k .. "</td>\r\n")
41 mg.write(" <td>" .. v .. "</td>\r\n")
42 mg.write(" </tr>\r\n");
44 mg.write(" </table>\r\n");
46 mg.write(" <h2>Body</h2>\r\n")
47 mg.write("<pre>\r\n");
56 mg.write("\r\n</pre>\r\n");
58 mg.write(" <h2>-</h2>\r\n")
59 mg.write("</body>\r\n")
60 mg.write("</html>\r\n")