]> git.proxmox.com Git - ceph.git/blame - ceph/src/civetweb/test/page.ssjs
buildsys: switch source download to quincy
[ceph.git] / ceph / src / civetweb / test / page.ssjs
CommitLineData
7c673cae
FG
1print = conn.write || print\r
2\r
3// send a header\r
4print('HTTP/1.0 200 OK\r\n');\r
5print('Content-Type: text/html\r\n');\r
6print('\r\n');\r
7\r
8print("<html><body>\n");\r
9print("<p>This example page is generated by the ");\r
10print('<a href="https://github.com/civetweb/civetweb">CivetWeb web server</a>');\r
11print(" with server side javascript.</p>\n");\r
12\r
13var d = new Date();\r
14var n = d.toString(); \r
15\r
16print("<p>Server time: " + n + "</p>\n");\r
17\r
18print("</body></html>\n");\r
19\r